summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2017-11-19 21:57:17 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-12-13 16:00:34 +0300
commit32f2fe5944092f3e289098e1e0a19073b2526817 (patch)
treec7b36857915d9449479c414aad676d08a483b638
parentc6a69269eb4f98aa998689449ad542df9741248f (diff)
downloadlinux-32f2fe5944092f3e289098e1e0a19073b2526817.tar.xz
media: c8sectpfe: DVB_C8SECTPFE should depend on HAS_DMA
If NO_DMA=y: ERROR: "bad_dma_ops" [drivers/media/platform/sti/c8sectpfe/c8sectpfe.ko] undefined! Add a dependency on HAS_DMA to fix this. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
-rw-r--r--drivers/media/platform/sti/c8sectpfe/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/sti/c8sectpfe/Kconfig b/drivers/media/platform/sti/c8sectpfe/Kconfig
index 7420a50572d3..740190f8a3b6 100644
--- a/drivers/media/platform/sti/c8sectpfe/Kconfig
+++ b/drivers/media/platform/sti/c8sectpfe/Kconfig
@@ -1,6 +1,6 @@
config DVB_C8SECTPFE
tristate "STMicroelectronics C8SECTPFE DVB support"
- depends on PINCTRL && DVB_CORE && I2C
+ depends on PINCTRL && DVB_CORE && I2C && HAS_DMA
depends on ARCH_STI || ARCH_MULTIPLATFORM || COMPILE_TEST
select FW_LOADER
select DEBUG_FS