diff options
author | Arnd Bergmann <arnd@arndb.de> | 2014-06-05 17:29:46 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-07-25 17:16:55 -0400 |
commit | c86d1ae254eeb4976b81d17153b37d53b2f58004 (patch) | |
tree | 57ae93a19fd9642ab167dbb38de848935e4b85e8 | |
parent | 0aab6c3f125e9efcc493caae0cffefe501202a71 (diff) |
advansys: don't build ARM
The advansys SCSI driver uses the dma_cache_sync function, which is
not available on the ARM architecture, and cannot be implemented
correctly, so we always get this build error:
drivers/scsi/advansys.c: In function 'advansys_get_sense_buffer_dma':
drivers/scsi/advansys.c:7882:2: error: implicit declaration of function 'dma_cache_sync' [-Werror=implicit-function-declaration]
dma_cache_sync(board->dev, scp->sense_buffer,
^
It seems nobody has missed this driver so far, so let's just
disable it for ARM to help randconfig builds.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Christoph Hellwig <hch@lst.de>
-rw-r--r-- | drivers/scsi/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig index 7b07e287e2ce..18a3358eb1d4 100644 --- a/drivers/scsi/Kconfig +++ b/drivers/scsi/Kconfig | |||
@@ -493,7 +493,7 @@ config SCSI_DPT_I2O | |||
493 | 493 | ||
494 | config SCSI_ADVANSYS | 494 | config SCSI_ADVANSYS |
495 | tristate "AdvanSys SCSI support" | 495 | tristate "AdvanSys SCSI support" |
496 | depends on SCSI && VIRT_TO_BUS | 496 | depends on SCSI && VIRT_TO_BUS && !ARM |
497 | depends on ISA || EISA || PCI | 497 | depends on ISA || EISA || PCI |
498 | help | 498 | help |
499 | This is a driver for all SCSI host adapters manufactured by | 499 | This is a driver for all SCSI host adapters manufactured by |