Skip to content
  • Arnd Bergmann's avatar
    advansys: don't build ARM · c86d1ae2
    Arnd Bergmann authored
    
    
    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: default avatarArnd Bergmann <arnd@arndb.de>
    Reviewed-by: default avatarFinn Thain <fthain@telegraphics.com.au>
    Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
    c86d1ae2