Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp322933ybt; Tue, 23 Jun 2020 23:36:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJGBZhhpB4swO3VQIkRxR1dCbfjAJQm+ijTyeBiJpS4RyZ/ytR799Y4QSRdzp9Y2NJi3Uw X-Received: by 2002:a17:906:494a:: with SMTP id f10mr6027729ejt.428.1592980564343; Tue, 23 Jun 2020 23:36:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592980564; cv=none; d=google.com; s=arc-20160816; b=CYsF0q7B+a8ApQhodaJ2Y67wJ5hxnZM+SLzujhYCsE6hGxtp2t2sPyIipIuusGNKsR HVsiwsUmNUyh9Ghhjd1uGrP+O4ZMzX8kqd2vIZUdlPxTA8OUsWM00URD2756AhmxQ9HE OE8twjARa8Dfimopt8J3gFItcWRxnI53hQK+QFzZIlfny8tU2Sln+prwMWGsNQ1LuIqA ReFoBMKtBTcV3SlMXJ2iKO8BbrJyp47LyKhEM3vrSt4nOCfG5EPN4ROZl3P5eGGq7H5U g+cuIsHXT8fTdWdiMgijqCGbWHQAod0G8Fn7AWcH+SKtvcya+CRo6DIdC7Go+tXe1O0C MDag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=aivxl9eRv+N9jcW3i97QxLJ/xsmQJ0P62WEAJULw6I8=; b=E1H5ekfsxk9szF5E7SKyhHC63JbCgtjDd+AHnlVXuSziPv/whHmWIBbg1Fq3EsfTtv X6R1ikLinsQ1cDrfuxhid4z6LIXQZwMI8hJVBSXXmkF7xGyM37YI6EFmEdIdbaM+mYbK 27ZbHaW7vrclbvYW3IwJmR1V2r0TLT2QUNsPSW8G0eSRaNFtGjtqWIvAW0go3w4hQR4H unwC95bHFGf1N/BV5GhVbLt/nF7vEfv7LggIueWaDYcTQaF+DUExoc7jAL7gHAoSv3Ck Yu9yoOerdsxw+ct8qpCjhT/m7bGD/H730MwJIWeU2qzkCpgrO+PrvkD5GsimhE5TlgSA kOcQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d13si385001edh.256.2020.06.23.23.35.40; Tue, 23 Jun 2020 23:36:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389298AbgFXGfh (ORCPT + 99 others); Wed, 24 Jun 2020 02:35:37 -0400 Received: from inva020.nxp.com ([92.121.34.13]:34102 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388413AbgFXGff (ORCPT ); Wed, 24 Jun 2020 02:35:35 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 336011A111A; Wed, 24 Jun 2020 08:35:34 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id A16131A01C8; Wed, 24 Jun 2020 08:35:29 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 88299402BB; Wed, 24 Jun 2020 14:35:23 +0800 (SGT) From: Anson Huang To: aisheng.dong@nxp.com, festevam@gmail.com, shawnguo@kernel.org, stefan@agner.ch, kernel@pengutronix.de, linus.walleij@linaro.org, s.hauer@pengutronix.de, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Linux-imx@nxp.com Subject: [PATCH V6 1/9] pinctrl: imx: Support i.MX8 SoCs pinctrl driver built as module Date: Wed, 24 Jun 2020 14:23:56 +0800 Message-Id: <1592979844-18833-2-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1592979844-18833-1-git-send-email-Anson.Huang@nxp.com> References: <1592979844-18833-1-git-send-email-Anson.Huang@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Export necessary APIs to support i.MX8 SoCs pinctrl driver to be built as module. Signed-off-by: Anson Huang --- Changes since V5: - keep it still built in, ONLY export APIs for SoCs pinctrl driver; --- drivers/pinctrl/freescale/pinctrl-imx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/pinctrl/freescale/pinctrl-imx.c b/drivers/pinctrl/freescale/pinctrl-imx.c index 1f81569..507e4af 100644 --- a/drivers/pinctrl/freescale/pinctrl-imx.c +++ b/drivers/pinctrl/freescale/pinctrl-imx.c @@ -877,6 +877,7 @@ int imx_pinctrl_probe(struct platform_device *pdev, return pinctrl_enable(ipctl->pctl); } +EXPORT_SYMBOL_GPL(imx_pinctrl_probe); static int __maybe_unused imx_pinctrl_suspend(struct device *dev) { @@ -896,3 +897,4 @@ const struct dev_pm_ops imx_pinctrl_pm_ops = { SET_LATE_SYSTEM_SLEEP_PM_OPS(imx_pinctrl_suspend, imx_pinctrl_resume) }; +EXPORT_SYMBOL_GPL(imx_pinctrl_pm_ops); -- 2.7.4