Skip to content

Commit

Permalink
ata: SATA_HIGHBANK should depend on HAS_DMA
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Geert Uytterhoeven authored and Tejun Heo committed Jan 6, 2017
1 parent 62989ce commit 2a736e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/ata/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@ config SATA_DWC_VDEBUG

config SATA_HIGHBANK
tristate "Calxeda Highbank SATA support"
depends on HAS_DMA
depends on ARCH_HIGHBANK || COMPILE_TEST
help
This option enables support for the Calxeda Highbank SoC's
Expand Down

0 comments on commit 2a736e0

Please sign in to comment.