X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fscsi%2Fconstants.c;h=508d84f6e8c08beec459fb84e3557f25254b7bf9;hb=da7238bfbc1c5267bb3c9a79e03b6c296839a07e;hp=b0179426fc98d3dc5dfdff1533bfadada59beb03;hpb=86090fcac5e27b630656fe3d963a6b80e26dac44;p=linux-2.6.git diff --git a/drivers/scsi/constants.c b/drivers/scsi/constants.c index b0179426f..508d84f6e 100644 --- a/drivers/scsi/constants.c +++ b/drivers/scsi/constants.c @@ -12,7 +12,7 @@ #include #include #include "scsi.h" -#include "hosts.h" +#include #define CONST_COMMAND 0x01 #define CONST_STATUS 0x02 @@ -31,6 +31,8 @@ static const char unknown[] = "UNKNOWN"; #endif #define CONSTANTS (CONST_COMMAND | CONST_STATUS | CONST_SENSE | CONST_XSENSE \ | CONST_CMND | CONST_MSG | CONST_HOST | CONST_DRIVER) +#else +#define CONSTANTS 0 #endif #if (CONSTANTS & CONST_COMMAND)