diff options
author | Hannes Reinecke <hare@suse.de> | 2015-01-08 07:43:48 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2015-01-09 15:44:31 +0100 |
commit | 2dd951ecd511756f405ae9324db87bb0159f6225 (patch) | |
tree | 61c8bdbc84bb31a4f1b1e39c12209778c591e655 /drivers/xen | |
parent | 026f8da8da4ce3423bf89e8e9091f55ae3863eda (diff) | |
download | lwn-2dd951ecd511756f405ae9324db87bb0159f6225.tar.gz lwn-2dd951ecd511756f405ae9324db87bb0159f6225.zip |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/xen/xen-scsiback.c b/drivers/xen/xen-scsiback.c index e999496eda3e..471ab0661696 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> |