|
@@ -6,13 +6,4 @@
|
|
#include <linux/version.h>
|
|
#include <linux/version.h>
|
|
#include <scsi/scsi_device.h>
|
|
#include <scsi/scsi_device.h>
|
|
|
|
|
|
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,6))
|
|
|
|
-static int inline scsi_device_online(struct scsi_device *sdev)
|
|
|
|
-{
|
|
|
|
- return sdev->online;
|
|
|
|
-}
|
|
|
|
-#endif
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-/*}-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
|
|
|
|
#endif /* _LINUX_COMPAT_H */
|
|
#endif /* _LINUX_COMPAT_H */
|