ata: SATA_HIGHBANK should depend on HAS_DMA
authorGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 3 Jan 2017 18:09:45 +0000 (19:09 +0100)
committerTejun Heo <tj@kernel.org>
Fri, 6 Jan 2017 16:32:43 +0000 (11:32 -0500)
commit2a736e0585e585c2566b5119af8381910a170e44
treeedbe3c527aa259af1bdebe9cd26bdecbd00f0907
parent62989cebd367a1aae1e009e1a5b1ec046a4c8fdc
ata: SATA_HIGHBANK should depend on HAS_DMA

If NO_DMA=y:

    ERROR: "bad_dma_ops" [drivers/ata/sata_highbank.ko] undefined!

Add a dependency on HAS_DMA to fix this.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/Kconfig