From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753246AbbCII0f (ORCPT ); Mon, 9 Mar 2015 04:26:35 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:32784 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751276AbbCII0c (ORCPT ); Mon, 9 Mar 2015 04:26:32 -0400 X-Listener-Flag: 11101 Subject: Re: [PATCH 2/2] pinctrl: mediatek: Adjust mt8173 pinctrl kconfig From: Yingjoe Chen To: Paul Bolle CC: Arnd Bergmann , , Hongzhou Yang , Catalin Marinas , Linus Walleij , , , , Matthias Brugger , In-Reply-To: <1425639954.24292.274.camel@x220> References: <1425623091-30478-1-git-send-email-yingjoe.chen@mediatek.com> <1425623091-30478-2-git-send-email-yingjoe.chen@mediatek.com> <1425639954.24292.274.camel@x220> Content-Type: text/plain; charset="UTF-8" Date: Mon, 9 Mar 2015 16:26:24 +0800 Message-ID: <1425889584.4871.12.camel@mtksdaap41> MIME-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit X-MTK: N Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2015-03-06 at 12:05 +0100, Paul Bolle wrote: > 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 > Hi Paul, Just sent a new version with this change. Thanks for your suggestion. Joe.C