Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1912275ybh; Sun, 15 Mar 2020 14:17:12 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsV4gvsE+V8VmGNvlRB9L0CPWj1Dyqxu4Gv3jDP2XhDEhfqhU6qHfp98PLP7tMAqqUUcC1b X-Received: by 2002:aca:d553:: with SMTP id m80mr15383388oig.30.1584307031972; Sun, 15 Mar 2020 14:17:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584307031; cv=none; d=google.com; s=arc-20160816; b=akiYyL3cHvHlNRihkBsUnkm97hDFOPw1w/tG/7nEwmNevQF76sfg9zpp9UfusWwsgG SH6aVz5H//+Jq/L9XVRB+kRoUjIS4JTl6OeEORy8wrHxmykASmiBFMoKmEvAatpoWGjA Oi/Ck1db8aibdD50OfxIRcnC9lkSZQ+c7PeA7+H7I07XpD6HCgTP5Ixgm/rPOfqjpXCl oUxaF2fpqp510Yde3zK47GxrCbVuwQHztOAonSwCqT4VAsEy/YNTdP4lSdMyjku7jk4T xi+ZS5ov4xo8W0hknVH0Sn2nLR3BMo+rJmTkaWqGeTe5z+qI8OSrsqOi6zozOTQyVUBk F43Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=5i6K9BB2k36n3KxsXU2aCu65EJ+AiceIah9bTW6kmxI=; b=hx/CgXdgTUhMVz4O7R5JN2hid/dKxutzZn+/60HbHgYN8Pl+xhFqufnq5Lsao5dI4l YBV+Hl0P0cJLW5hVnKkPrVhlgQt6fHH7ICN0is1yshv5wS05stIXfos/jC7YdDLU3Fh6 fHaue7QpM3prjL9QvJCDQSHLDTJJizsQxExp65K2V3QUGDfOz3RFnwIyxvLOxygwK4+3 PpROuERHkjB+/bgQ1rZ1hrvbvz9Hlt81WaWxPHl0hqk3NYENFEvmZlCEbCGnnBs47/li B+UwTimzhALQ+JYCmuVinPr9sTSrp0a95qBT+xvt2Yia0M99gd3YPISUUnvHm6dOr8AH I9pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=U1tyGz5j; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z14si8735034otq.257.2020.03.15.14.16.49; Sun, 15 Mar 2020 14:17:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=U1tyGz5j; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729187AbgCOVPX (ORCPT + 99 others); Sun, 15 Mar 2020 17:15:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:53872 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729166AbgCOVPX (ORCPT ); Sun, 15 Mar 2020 17:15:23 -0400 Received: from mail-il1-f173.google.com (mail-il1-f173.google.com [209.85.166.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 52B9F20674; Sun, 15 Mar 2020 21:15:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1584306922; bh=I0g6ojUYaVQQh4Yfg/YJnRtaQaO75W6X4bRMQz89Ssc=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=U1tyGz5j1knx7F7AOjLZ0kHMBz3jiKJ9N2o+QnPAluXRnWbt76Dn6iMeICVxCOpMn 3K9X0w8jyRk3oJ/lN5wayrkyOJuC4R2WicZ2pp/RPLlcQQIbAJxM188U/0jlZG5gEP 6sdGzUkp61RiDbC8UPLEY2jVFw/bypaReiAT3yDc= Received: by mail-il1-f173.google.com with SMTP id h3so14554703ils.3; Sun, 15 Mar 2020 14:15:22 -0700 (PDT) X-Gm-Message-State: ANhLgQ1+1MUB3Kkqj9NqZ8iJL+hOHQ8u4AJFkrMrCynlmwUzFdVMaxPq kQRhLyH/UV1l9ga2b3pUMNRVYHzOzVaUUDtOEkI= X-Received: by 2002:a92:216:: with SMTP id 22mr24194655ilc.53.1584306921712; Sun, 15 Mar 2020 14:15:21 -0700 (PDT) MIME-Version: 1.0 References: <1583825986-8189-1-git-send-email-light.hsieh@mediatek.com> <1583825986-8189-3-git-send-email-light.hsieh@mediatek.com> In-Reply-To: <1583825986-8189-3-git-send-email-light.hsieh@mediatek.com> From: Sean Wang Date: Sun, 15 Mar 2020 14:15:10 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v4 2/2] pinctrl: make MediaTek MT6765 pinctrl ready for buidling loadable module To: Light Hsieh Cc: Linus Walleij , "moderated list:ARM/Mediatek SoC support" , "open list:GPIO SUBSYSTEM" , lkml , kuohong.wang@mediatek.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Light On Tue, Mar 10, 2020 at 12:39 AM wrote: > > From: Light Hsieh > > This patch make pinctrl-mt6765 ready for building as loadable module. s/building/building/ I got build error after when those two patches are being applied ../drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c:529:1: error: 'mtk_pinconf_bias_set_gev1' undeclared here (not in a function) > > Signed-off-by: Light Hsieh > Reviewed-by: Matthias Brugger > --- > drivers/pinctrl/mediatek/Kconfig | 2 +- > drivers/pinctrl/mediatek/pinctrl-mt6765.c | 4 ++++ > 2 files changed, 5 insertions(+), 1 deletion(-) > > diff --git a/drivers/pinctrl/mediatek/Kconfig b/drivers/pinctrl/mediatek/Kconfig > index 4cd1109..c645fdb 100644 > --- a/drivers/pinctrl/mediatek/Kconfig > +++ b/drivers/pinctrl/mediatek/Kconfig > @@ -89,7 +89,7 @@ config PINCTRL_MT2712 > select PINCTRL_MTK > > config PINCTRL_MT6765 > - bool "Mediatek MT6765 pin control" > + tristate "Mediatek MT6765 pin control" > depends on OF > depends on ARM64 || COMPILE_TEST > default ARM64 && ARCH_MEDIATEK > diff --git a/drivers/pinctrl/mediatek/pinctrl-mt6765.c b/drivers/pinctrl/mediatek/pinctrl-mt6765.c > index 905dae8c..2c59d39 100644 > --- a/drivers/pinctrl/mediatek/pinctrl-mt6765.c > +++ b/drivers/pinctrl/mediatek/pinctrl-mt6765.c > @@ -6,6 +6,7 @@ > * > */ > > +#include > #include "pinctrl-mtk-mt6765.h" > #include "pinctrl-paris.h" > > @@ -1103,3 +1104,6 @@ static int __init mt6765_pinctrl_init(void) > return platform_driver_register(&mt6765_pinctrl_driver); > } > arch_initcall(mt6765_pinctrl_init); > + > +MODULE_LICENSE("GPL v2"); > +MODULE_DESCRIPTION("MediaTek MT6765 Pinctrl Driver"); > -- > 1.8.1.1.dirty