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:
Bart Van Assche
2019-04-02 04:12:16 +00:00
parent 7944db8387
commit 41dd8494f7

View File

@@ -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