Skip to contentSkip to conversation

media: CEC: keep related menu entries together

PATCH New Randy Dunlap 1 participant 1 message Sep 21, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 media: CEC: keep related menu entries together

Keep all of the CEC menu items grouped together.
By grouping all of these menu entries inside a menu/endmenu block, they are forced to be kept together and they are displayed/presented in a group for users.

Tested with xconfig, gconfig, menuconfig, and nconfig.

Fixes 46d2a3b964dd ("media: place CEC menu before MEDIA_SUPPORT")
Cc Sean Young <[email protected]>
Cc Hans Verkuil <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>

---
v2: use CEC support menu as suggested by Hans Verkuil

 drivers/media/cec/Kconfig |    4 ++++
 1 file changed, 4 insertions(+)
drivers/media/cec/Kconfig +4 -0
@@ -8,6 +8,8 @@ config CEC_NOTIFIER
 config CEC_PIN
 	bool
 
+menu "CEC support"
+
 config MEDIA_CEC_RC
 	bool "HDMI CEC RC integration"
 	depends on CEC_CORE && RC_CORE
@@ -37,3 +39,5 @@ source "drivers/media/cec/i2c/Kconfig"
 source "drivers/media/cec/platform/Kconfig"
 source "drivers/media/cec/usb/Kconfig"
 endif
+
+endmenu