summaryrefslogtreecommitdiffstats
path: root/drivers/xen
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2015-01-08 07:43:48 +0100
committerChristoph Hellwig <hch@lst.de>2015-01-09 15:44:31 +0100
commit2dd951ecd511756f405ae9324db87bb0159f6225 (patch)
tree61c8bdbc84bb31a4f1b1e39c12209778c591e655 /drivers/xen
parent026f8da8da4ce3423bf89e8e9091f55ae3863eda (diff)
downloadop-kernel-dev-2dd951ecd511756f405ae9324db87bb0159f6225.zip
op-kernel-dev-2dd951ecd511756f405ae9324db87bb0159f6225.tar.gz
scsi: Conditionally compile in constants.c
Instead of having constants.c littered with ifdef statements we should be moving dummy functions into the header and condintionally compile in constants.c if selected. And update the Kconfig description to reflect the actual size difference. Suggested-by: Christoph Hellwig <hch@infradead.org> Tested-by: Robert Elliott <elliott@hp.com> Reviewed-by: Robert Elliott <elliott@hp.com> Signed-off-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/xen')
-rw-r--r--drivers/xen/xen-scsiback.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/xen/xen-scsiback.c b/drivers/xen/xen-scsiback.c
index e999496e..471ab06 100644
--- a/drivers/xen/xen-scsiback.c
+++ b/drivers/xen/xen-scsiback.c
@@ -47,6 +47,7 @@
#include <generated/utsrelease.h>
+#include <scsi/scsi.h>
#include <scsi/scsi_dbg.h>
#include <scsi/scsi_eh.h>
#include <scsi/scsi_tcq.h>
OpenPOWER on IntegriCloud