summaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2012-04-30 16:26:31 +0000
committerArnd Bergmann <arnd@arndb.de>2012-10-09 21:56:24 +0200
commitea065f13cc0a037b55698bb1021ea0927d0046d1 (patch)
tree9af4c4f592f22fd20104b4729f2c2ceb865b0dd3 /drivers/scsi
parenta0d271cbfed1dd50278c6b06bead3d00ba0a88f9 (diff)
downloadop-kernel-dev-ea065f13cc0a037b55698bb1021ea0927d0046d1.zip
op-kernel-dev-ea065f13cc0a037b55698bb1021ea0927d0046d1.tar.gz
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
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/arm/oak.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/arm/oak.c b/drivers/scsi/arm/oak.c
index d25f944..fc6a5aa 100644
--- a/drivers/scsi/arm/oak.c
+++ b/drivers/scsi/arm/oak.c
@@ -21,6 +21,7 @@
/*#define PSEUDO_DMA*/
#define OAKSCSI_PUBLIC_RELEASE 1
+#define DONT_USE_INTR
#define priv(host) ((struct NCR5380_hostdata *)(host)->hostdata)
#define NCR5380_local_declare() void __iomem *_base
OpenPOWER on IntegriCloud