diff --git a/src/storage/storage_backend_scsi.c b/src/storage/storage_backend_scsi.c index ecad1782c13535f893cae606a24d558e0315fb81..0cc11486b763c27ab2952b6a3ea051f2515f5f60 100644 --- a/src/storage/storage_backend_scsi.c +++ b/src/storage/storage_backend_scsi.c @@ -40,6 +40,10 @@ VIR_LOG_INIT("storage.storage_backend_scsi"); +#define LINUX_SYSFS_SCSI_HOST_PREFIX "/sys/class/scsi_host" +#define LINUX_SYSFS_SCSI_HOST_POSTFIX "device" +#define LINUX_SYSFS_SCSI_HOST_SCAN_STRING "- - -" + typedef struct _virStoragePoolFCRefreshInfo virStoragePoolFCRefreshInfo; typedef virStoragePoolFCRefreshInfo *virStoragePoolFCRefreshInfoPtr; struct _virStoragePoolFCRefreshInfo { diff --git a/src/storage/storage_backend_scsi.h b/src/storage/storage_backend_scsi.h index 691b8cbf13c9b37777235970db6a679215a59ec3..1ba53a57c92671063a2662a14caa65baa76f3b15 100644 --- a/src/storage/storage_backend_scsi.h +++ b/src/storage/storage_backend_scsi.h @@ -26,10 +26,6 @@ # include "storage_backend.h" -# define LINUX_SYSFS_SCSI_HOST_PREFIX "/sys/class/scsi_host" -# define LINUX_SYSFS_SCSI_HOST_POSTFIX "device" -# define LINUX_SYSFS_SCSI_HOST_SCAN_STRING "- - -" - extern virStorageBackend virStorageBackendSCSI; #endif /* __VIR_STORAGE_BACKEND_SCSI_H__ */