[PATCH] soc: mediatek: place Kconfig for all SoC driver under menu

Jean Delvare jdelvare at suse.de
Mon Sep 25 22:55:58 PDT 2017


On Thu, 21 Sep 2017 16:46:35 +0800, sean.wang at mediatek.com wrote:
> From: Sean Wang <sean.wang at mediatek.com>
> 
> Add cleanup for placing all Kconfig for all MediaTek SoC drivers under
> the independent menu as other SoCs vendor usually did.
> 
> Signed-off-by: Sean Wang <sean.wang at mediatek.com>
> ---
>  drivers/soc/mediatek/Kconfig | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/drivers/soc/mediatek/Kconfig b/drivers/soc/mediatek/Kconfig
> index 609bb34..a2fcd7f 100644
> --- a/drivers/soc/mediatek/Kconfig
> +++ b/drivers/soc/mediatek/Kconfig
> @@ -1,6 +1,8 @@
>  #
>  # MediaTek SoC drivers
>  #
> +menu "MediaTek SoC drivers"

Could it depend on ARCH_MEDIATEK || COMPILE_TEST? So that it isn't
presented if it is going to be empty.

> +
>  config MTK_INFRACFG
>  	bool "MediaTek INFRACFG Support"
>  	depends on ARCH_MEDIATEK || COMPILE_TEST
> @@ -30,3 +32,5 @@ config MTK_SCPSYS
>  	help
>  	  Say yes here to add support for the MediaTek SCPSYS power domain
>  	  driver.
> +
> +endmenu


-- 
Jean Delvare
SUSE L3 Support



More information about the linux-arm-kernel mailing list