aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/message/fusion/linux_compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/message/fusion/linux_compat.h')
-rw-r--r--drivers/message/fusion/linux_compat.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/message/fusion/linux_compat.h b/drivers/message/fusion/linux_compat.h
index 048b5b8610e3..bb2bf5aa0b62 100644
--- a/drivers/message/fusion/linux_compat.h
+++ b/drivers/message/fusion/linux_compat.h
@@ -6,13 +6,4 @@
6#include <linux/version.h> 6#include <linux/version.h>
7#include <scsi/scsi_device.h> 7#include <scsi/scsi_device.h>
8 8
9#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,6))
10static int inline scsi_device_online(struct scsi_device *sdev)
11{
12 return sdev->online;
13}
14#endif
15
16
17/*}-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
18#endif /* _LINUX_COMPAT_H */ 9#endif /* _LINUX_COMPAT_H */