Skip to content

Commit 11cb9de

Browse files
geertugregkh
authored andcommitted
ata: SATA_HIGHBANK should depend on HAS_DMA
[ Upstream commit 2a736e0585e585c2566b5119af8381910a170e44 ] 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> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 2066882 commit 11cb9de

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/ata/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,7 @@ config SATA_DWC_VDEBUG
319319

320320
config SATA_HIGHBANK
321321
tristate "Calxeda Highbank SATA support"
322+
depends on HAS_DMA
322323
depends on ARCH_HIGHBANK || COMPILE_TEST
323324
help
324325
This option enables support for the Calxeda Highbank SoC's

0 commit comments

Comments
 (0)