[media] cec: fix Kconfig dependency problems
- Use IS_REACHABLE(RC_CORE) instead of IS_ENABLED: if cec is built-in and RC_CORE is a module, then CEC can't reach the RC symbols. - Both cec and cec-edid should be bool and use the same build 'mode' as MEDIA_SUPPORT (just as is done for the media controller code). - Add a note to staging that this should be changed once the cec framework is moved out of staging. Signed-off-by:Hans Verkuil <hans.verkuil@cisco.com> Reported-by:
Arnd Bergmann <arnd@arndb.de> Signed-off-by:
Mauro Carvalho Chehab <mchehab@s-opensource.com>
Showing
- drivers/media/Kconfig 1 addition, 1 deletiondrivers/media/Kconfig
- drivers/media/Makefile 3 additions, 1 deletiondrivers/media/Makefile
- drivers/staging/media/cec/Kconfig 1 addition, 1 deletiondrivers/staging/media/cec/Kconfig
- drivers/staging/media/cec/Makefile 3 additions, 1 deletiondrivers/staging/media/cec/Makefile
- drivers/staging/media/cec/TODO 5 additions, 0 deletionsdrivers/staging/media/cec/TODO
- drivers/staging/media/cec/cec-adap.c 2 additions, 2 deletionsdrivers/staging/media/cec/cec-adap.c
- drivers/staging/media/cec/cec-core.c 5 additions, 5 deletionsdrivers/staging/media/cec/cec-core.c
Loading
Please register or sign in to comment