mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-23 05:31:28 +00:00
qla2x00t-32gbit: Only include <linux/nvme.h> if available
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8133 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -8,7 +8,9 @@
|
||||
#define __QLA_FW_H
|
||||
|
||||
#include <linux/version.h>
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 3, 0) || defined(RHEL_MAJOR)
|
||||
#include <linux/nvme.h>
|
||||
#endif
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 10, 0)
|
||||
#include <linux/nvme-fc.h>
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user