summaryrefslogtreecommitdiffstats
path: root/drivers/ata/ahci_xgene.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2017-01-03 19:09:49 +0100
committerTejun Heo <tj@kernel.org>2017-01-06 11:32:44 -0500
commit2874d5ee6c06ab72f2729968926b3d5ef8fca897 (patch)
tree1f0157a5837d36d047311e1bab03b7732b965107 /drivers/ata/ahci_xgene.c
parent6cf32ed9eee2d34db441ba6ebad3ec2d67952688 (diff)
downloadop-kernel-dev-2874d5ee6c06ab72f2729968926b3d5ef8fca897.zip
op-kernel-dev-2874d5ee6c06ab72f2729968926b3d5ef8fca897.tar.gz
libata: Protect DMA core code by #ifdef CONFIG_HAS_DMA
If NO_DMA=y: ERROR: "bad_dma_ops" [drivers/ata/libata.ko] undefined! To fix this, protect the DMA code by #ifdef CONFIG_HAS_DMA, and provide dummies of ata_sg_clean() and ata_sg_setup() for the !CONFIG_HAS_DMA case. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata/ahci_xgene.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud