]> git.baikalelectronics.ru Git - kernel.git/commit
SCSI: ARM: ncr5380/oak uses no interrupts
authorArnd Bergmann <arnd@arndb.de>
Mon, 30 Apr 2012 16:26:31 +0000 (16:26 +0000)
committerArnd Bergmann <arnd@arndb.de>
Tue, 9 Oct 2012 19:56:24 +0000 (21:56 +0200)
commit038f57b73402e4a9cf34ccc76dd5e4bf36e197e7
tree9af4c4f592f22fd20104b4729f2c2ceb865b0dd3
parentcec3ab8d456d1d2dab9b60fb279125e4f7315d31
SCSI: ARM: ncr5380/oak uses no interrupts

The ncr5380 driver is included by multiple board specific
drivers, which may or may not use the interrupt handler.
The oak variant doesn't, and should set the DONT_USE_INTR
macro.

Without this patch, building rpc_defconfig results in:

drivers/scsi/arm/../NCR5380.c:1160:20: warning: 'oakscsi_intr' defined but not used [-Wunused-function]

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Russell King <rmk+kernel@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/oak.c