diff options
author | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-08-20 15:21:35 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-08-26 17:52:19 -0400 |
commit | 7155043c2d027c9c848c3d09badb5af2894ed652 (patch) | |
tree | 44411210483f01dfb79ee6ecf4209e615a39e322 /drivers/media/rc | |
parent | 1dbfacf2dd30100ea38181f9cc25feaaa9204630 (diff) |
[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')
-rw-r--r-- | drivers/media/rc/Kconfig | 5 |
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 | |||
333 | 333 | ||
334 | config RC_ST | 334 | config RC_ST |
335 | tristate "ST remote control receiver" | 335 | tristate "ST remote control receiver" |
336 | depends on ARCH_STI && RC_CORE | 336 | depends on RC_CORE |
337 | depends on ARCH_STI || COMPILE_TEST | ||
337 | help | 338 | help |
338 | Say Y here if you want support for ST remote control driver | 339 | Say Y here if you want support for ST remote control driver |
339 | which allows both IR and UHF RX. | 340 | which allows both IR and UHF RX. |
@@ -344,7 +345,7 @@ config RC_ST | |||
344 | config IR_SUNXI | 345 | config IR_SUNXI |
345 | tristate "SUNXI IR remote control" | 346 | tristate "SUNXI IR remote control" |
346 | depends on RC_CORE | 347 | depends on RC_CORE |
347 | depends on ARCH_SUNXI | 348 | depends on ARCH_SUNXI || COMPILE_TEST |
348 | ---help--- | 349 | ---help--- |
349 | Say Y if you want to use sunXi internal IR Controller | 350 | Say Y if you want to use sunXi internal IR Controller |
350 | 351 | ||