Skip to content

Commit

Permalink
SCSI: ARM: ncr5380/oak uses no interrupts
Browse files Browse the repository at this point in the history
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 <[email protected]>
Cc: Russell King <[email protected]>
Cc: "James E.J. Bottomley" <[email protected]>
Cc: [email protected]
Cc: [email protected]
  • Loading branch information
arndb committed Oct 9, 2012
1 parent a0d271c commit ea065f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/scsi/arm/oak.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ea065f1

Please sign in to comment.