[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1425639954.24292.274.camel@x220>
Date: Fri, 06 Mar 2015 12:05:54 +0100
From: Paul Bolle <pebolle@...cali.nl>
To: Yingjoe Chen <yingjoe.chen@...iatek.com>
Cc: Linus Walleij <linus.walleij@...aro.org>,
Matthias Brugger <matthias.bgg@...il.com>,
Hongzhou Yang <hongzhou.yang@...iatek.com>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-gpio@...r.kernel.org, srv_heupstream@...iatek.com,
linux-mediatek@...ts.infradead.org,
Catalin Marinas <catalin.marinas@....com>,
Arnd Bergmann <arnd@...db.de>
Subject: Re: [PATCH 2/2] pinctrl: mediatek: Adjust mt8173 pinctrl kconfig
On Fri, 2015-03-06 at 14:24 +0800, Yingjoe Chen wrote:
> --- a/drivers/pinctrl/mediatek/Kconfig
> +++ b/drivers/pinctrl/mediatek/Kconfig
> @@ -8,11 +8,13 @@ config PINCTRL_MTK_COMMON
> select OF_GPIO
>
> config PINCTRL_MT8135
> - def_bool MACH_MT8135
> + def_bool MACH_MT8135 || COMPILE_TEST
> select PINCTRL_MTK_COMMON
>
> config PINCTRL_MT8173
> - def_bool MACH_MT8173
> + bool "Mediatek MT8173 pin control"
> + def_bool y
The kconfig tools will do what you mean here, but I think it's cleaner
to make this just:
bool "Mediatek MT8173 pin control"
default y
> + depends on ARM64 || COMPILE_TEST
> select PINCTRL_MTK_COMMON
>
> endif
Thanks,
Paul Bolle
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists