summaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/Kconfig
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2014-08-20 13:21:35 -0600
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-08-26 18:52:19 -0300
commit7155043c2d027c9c848c3d09badb5af2894ed652 (patch)
tree44411210483f01dfb79ee6ecf4209e615a39e322 /drivers/media/rc/Kconfig
parent1dbfacf2dd30100ea38181f9cc25feaaa9204630 (diff)
downloadlinux-7155043c2d027c9c848c3d09badb5af2894ed652.tar.gz
linux-7155043c2d027c9c848c3d09badb5af2894ed652.tar.bz2
linux-7155043c2d027c9c848c3d09badb5af2894ed652.zip
[media] enable COMPILE_TEST for media drivers
There are several arch-specific media drivers that don't require asm-specific includes and can be successfully compiled on x86. Add COMPILE_TEST dependency for them, in order to allow a broader test on those drivers. That helps static analysis tools like Coverity to discover eventual troubles there. Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/rc/Kconfig')
-rw-r--r--drivers/media/rc/Kconfig5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/rc/Kconfig b/drivers/media/rc/Kconfig
index 5e626af8e313..2b0cc4a98e88 100644
--- a/drivers/media/rc/Kconfig
+++ b/drivers/media/rc/Kconfig
@@ -333,7 +333,8 @@ config IR_GPIO_CIR
config RC_ST
tristate "ST remote control receiver"
- depends on ARCH_STI && RC_CORE
+ depends on RC_CORE
+ depends on ARCH_STI || COMPILE_TEST
help
Say Y here if you want support for ST remote control driver
which allows both IR and UHF RX.
@@ -344,7 +345,7 @@ config RC_ST
config IR_SUNXI
tristate "SUNXI IR remote control"
depends on RC_CORE
- depends on ARCH_SUNXI
+ depends on ARCH_SUNXI || COMPILE_TEST
---help---
Say Y if you want to use sunXi internal IR Controller