Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>

authored by

Randy Dunlap and committed by
Mauro Carvalho Chehab
2d080eb6 21001fdb

+4
+4
drivers/media/cec/Kconfig
··· 8 8 config CEC_PIN 9 9 bool 10 10 11 + menu "CEC support" 12 + 11 13 config MEDIA_CEC_RC 12 14 bool "HDMI CEC RC integration" 13 15 depends on CEC_CORE && RC_CORE ··· 39 37 source "drivers/media/cec/platform/Kconfig" 40 38 source "drivers/media/cec/usb/Kconfig" 41 39 endif 40 + 41 + endmenu