[media] cec: add MEDIA_SUPPORT dependency
authorArnd Bergmann <arnd@arndb.de>
Wed, 29 Jun 2016 14:26:35 +0000 (11:26 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 8 Jul 2016 21:33:00 +0000 (18:33 -0300)
The MEDIA_CEC_EDID option is guarded by MEDIA_SUPPORT, so selecting
it from MEDIA_CEC produces a warning:

warning: (MEDIA_CEC) selects MEDIA_CEC_EDID which has unmet direct dependencies (MEDIA_SUPPORT)

The warning is harmless, but it's better to add an explicit
dependency to shut it up, to reduce the noise during randconfig
builds.

Fixes: ca684386e6e2 ("[media] cec: add HDMI CEC framework (api)")

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/staging/media/cec/Kconfig

index 8a7acee..cd52359 100644 (file)
@@ -1,5 +1,6 @@
 config MEDIA_CEC
        tristate "CEC API (EXPERIMENTAL)"
+       depends on MEDIA_SUPPORT
        select MEDIA_CEC_EDID
        ---help---
          Enable the CEC API.