summaryrefslogtreecommitdiff
path: root/drivers/scsi/NCR53c406a.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2014-06-05 21:29:48 (GMT)
committerChristoph Hellwig <hch@lst.de>2014-07-25 21:16:55 (GMT)
commitd3814aaf5144b53c4ddebc52b88d12dcee2bfea8 (patch)
treeaf82460143e0fa37744576238dba9b020162592d /drivers/scsi/NCR53c406a.c
parent6ea8631dc2734a780aafd440bc3628fe04975252 (diff)
downloadlinux-d3814aaf5144b53c4ddebc52b88d12dcee2bfea8.tar.xz
qlogicfas: don't call free_dma()
The qlogicfas scsi driver does not use DMA, and the call to free_dma() in its exit function seems to have been copied incorrectly from another driver but never caused trouble. One case where it gets in the way is randconfig builds on ARM, which depending on the configuration does not provide a free_dma() function, causing this build error: drivers/scsi/qlogicfas.c: In function 'qlogicfas_release': drivers/scsi/qlogicfas.c:175:3: error: implicit declaration of function 'free_dma' [-Werror=implicit-function-declaration] free_dma(shost->dma_channel); ^ Removing the incorrect function calls should be the obvious fix for this, with no downsides. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Finn Thain <fthain@telegraphics.com.au> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/NCR53c406a.c')
0 files changed, 0 insertions, 0 deletions