diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-04-05 19:31:39 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-04-17 12:11:10 +0300 |
commit | 05c90900e24be491102a6018e242ee7ca602918b (patch) | |
tree | 74c9911bae3bfc91cfe2d136fda1c7059c48cb39 /drivers/media/platform/davinci/Kconfig | |
parent | b8952ee685505787cdc8406d04a48c1023781439 (diff) | |
download | linux-05c90900e24be491102a6018e242ee7ca602918b.tar.xz |
media: davinci: allow build vpbe_display with COMPILE_TEST
Except for some includes (with doesn't seem to be used), this
driver builds fine with COMPILE_TEST.
So, add checks there to avoid building it if ARCH_DAVINCI
is not selected.
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/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/platform/davinci/Kconfig b/drivers/media/platform/davinci/Kconfig index babdb4877b3f..b463d1726335 100644 --- a/drivers/media/platform/davinci/Kconfig +++ b/drivers/media/platform/davinci/Kconfig @@ -82,7 +82,8 @@ config VIDEO_DM365_ISIF config VIDEO_DAVINCI_VPBE_DISPLAY tristate "TI DaVinci VPBE V4L2-Display 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 VIDEOBUF2_DMA_CONTIG |