Message ID | 20240426135602.2500125-1-masahiroy@kernel.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [v2] drm: move DRM-related CONFIG options into DRM submenu | expand |
On Fri, 26 Apr 2024 22:56:02 +0900, Masahiro Yamada wrote: > When you create a submenu using the 'menu' syntax, there is no > ambiguity about its end because the code between 'menu' and 'endmenu' > becomes the submenu. > > In contrast, 'menuconfig' does not have the corresponding end marker. > Instead, the end of the submenu is inferred from symbol dependencies. > > [...] Applied to misc/kernel.git (drm-misc-next-fixes). Thanks! Maxime
diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig index 959b19a04101..7df15543a70a 100644 --- a/drivers/gpu/drm/Kconfig +++ b/drivers/gpu/drm/Kconfig @@ -29,6 +29,8 @@ menuconfig DRM details. You should also select and configure AGP (/dev/agpgart) support if it is available for your platform. +if DRM + config DRM_MIPI_DBI tristate depends on DRM @@ -439,10 +441,6 @@ config DRM_HYPERV config DRM_EXPORT_FOR_TESTS bool -# Separate option because drm_panel_orientation_quirks.c is shared with fbdev -config DRM_PANEL_ORIENTATION_QUIRKS - tristate - config DRM_LIB_RANDOM bool default n @@ -463,3 +461,9 @@ config DRM_WERROR this config option is disabled by default. If in doubt, say N. + +endif + +# Separate option because drm_panel_orientation_quirks.c is shared with fbdev +config DRM_PANEL_ORIENTATION_QUIRKS + tristate