From: Arnd Bergmann Date: Thu, 5 Jun 2014 21:29:46 +0000 (+0200) Subject: advansys: don't build ARM X-Git-Tag: v3.17-rc1~100^2~63 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c86d1ae254eeb4976b81d17153b37d53b2f58004;p=karo-tx-linux.git 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 Reviewed-by: Finn Thain Signed-off-by: Christoph Hellwig --- 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 config SCSI_ADVANSYS tristate "AdvanSys SCSI support" - depends on SCSI && VIRT_TO_BUS + depends on SCSI && VIRT_TO_BUS && !ARM depends on ISA || EISA || PCI help This is a driver for all SCSI host adapters manufactured by