]> git.karo-electronics.de Git - karo-tx-linux.git/commit
SCSI: ARM: make fas216_dumpinfo function conditional
authorArnd Bergmann <arnd@arndb.de>
Mon, 30 Apr 2012 16:26:27 +0000 (16:26 +0000)
committerArnd Bergmann <arnd@arndb.de>
Tue, 9 Oct 2012 19:56:26 +0000 (21:56 +0200)
commit48968177312e01737c018fdb2430b703831cbc2e
tree00d8e43f6a7421ab69e525e5d97a74e9c11dd190
parentea065f13cc0a037b55698bb1021ea0927d0046d1
SCSI: ARM: make fas216_dumpinfo function conditional

The fas216_dumpinfo function is only used by __fas216_checkmagic,
which is conditionally compiled, so we should put both functions
inside of the same #ifdef.

Without this patch, building rpc_defconfig results in:

drivers/scsi/arm/fas216.c:182:13: warning: 'fas216_dumpinfo' defined but not used [-Wunused-function]

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: "James E.J. Bottomley" <JBottomley@parallels.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-scsi@vger.kernel.org
drivers/scsi/arm/fas216.c