scsi: Conditionally compile in constants.c
authorHannes Reinecke <hare@suse.de>
Thu, 8 Jan 2015 06:43:48 +0000 (07:43 +0100)
committerChristoph Hellwig <hch@lst.de>
Fri, 9 Jan 2015 14:44:31 +0000 (15:44 +0100)
commit2dd951ecd511756f405ae9324db87bb0159f6225
tree61c8bdbc84bb31a4f1b1e39c12209778c591e655
parent026f8da8da4ce3423bf89e8e9091f55ae3863eda
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>
drivers/scsi/Kconfig
drivers/scsi/Makefile
drivers/scsi/constants.c
drivers/xen/xen-scsiback.c
include/scsi/scsi_dbg.h