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)
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

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge