]> git.karo-electronics.de Git - linux-beck.git/commit
advansys: don't build ARM
authorArnd Bergmann <arnd@arndb.de>
Thu, 5 Jun 2014 21:29:46 +0000 (23:29 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 25 Jul 2014 21:16:55 +0000 (17:16 -0400)
commitc86d1ae254eeb4976b81d17153b37d53b2f58004
tree57ae93a19fd9642ab167dbb38de848935e4b85e8
parent0aab6c3f125e9efcc493caae0cffefe501202a71
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>
drivers/scsi/Kconfig