summaryrefslogtreecommitdiff
path: root/drivers/media/platform/davinci/Kconfig
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2018-04-05 12:21:39 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-04-17 05:08:46 -0400
commitb8952ee685505787cdc8406d04a48c1023781439 (patch)
treeee43f94d7f7d8b4e1b1ee7da4044c9de6679dfad /drivers/media/platform/davinci/Kconfig
parente81afa6f28f974cdf5c721648acfce148624019f (diff)
downloadlwn-b8952ee685505787cdc8406d04a48c1023781439.tar.gz
lwn-b8952ee685505787cdc8406d04a48c1023781439.zip
media: davinci: allow building isif code
The only reason why this driver doesn't build with COMPILE_TEST is because it includes mach/mux.h. It turns that none of the macros defined there are used. So, get rid of it, in order to allow it to build with COMPILE_TEST. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/platform/davinci/Kconfig')
-rw-r--r--drivers/media/platform/davinci/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/platform/davinci/Kconfig b/drivers/media/platform/davinci/Kconfig
index 55982e681d77..babdb4877b3f 100644
--- a/drivers/media/platform/davinci/Kconfig
+++ b/drivers/media/platform/davinci/Kconfig
@@ -67,7 +67,8 @@ config VIDEO_DM355_CCDC
config VIDEO_DM365_ISIF
tristate "TI DM365 ISIF video capture driver"
- depends on VIDEO_V4L2 && ARCH_DAVINCI
+ depends on VIDEO_V4L2
+ depends on ARCH_DAVINCI || COMPILE_TEST
depends on HAS_DMA
depends on I2C
select VIDEOBUF_DMA_CONTIG