[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190320141425.20920-1-yuehaibing@huawei.com>
Date: Wed, 20 Mar 2019 22:14:25 +0800
From: Yue Haibing <yuehaibing@...wei.com>
To: <aisheng.dong@....com>, <festevam@...il.com>,
<shawnguo@...nel.org>, <stefan@...er.ch>, <kernel@...gutronix.de>,
<linus.walleij@...aro.org>
CC: <linux-kernel@...r.kernel.org>, <linux-gpio@...r.kernel.org>,
YueHaibing <yuehaibing@...wei.com>
Subject: [PATCH -next] pinctrl: fsl: Make pinctrl_ipc_handle static
From: YueHaibing <yuehaibing@...wei.com>
Fix sparse warning:
drivers/pinctrl/freescale/pinctrl-scu.c:38:19: warning:
symbol 'pinctrl_ipc_handle' was not declared. Should it be static?
Signed-off-by: YueHaibing <yuehaibing@...wei.com>
---
drivers/pinctrl/freescale/pinctrl-scu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pinctrl/freescale/pinctrl-scu.c b/drivers/pinctrl/freescale/pinctrl-scu.c
index 83e69c0..73bf1d9 100644
--- a/drivers/pinctrl/freescale/pinctrl-scu.c
+++ b/drivers/pinctrl/freescale/pinctrl-scu.c
@@ -35,7 +35,7 @@ struct imx_sc_msg_resp_pad_get {
u32 val;
} __packed;
-struct imx_sc_ipc *pinctrl_ipc_handle;
+static struct imx_sc_ipc *pinctrl_ipc_handle;
int imx_pinctrl_sc_ipc_init(struct platform_device *pdev)
{
--
2.7.0
Powered by blists - more mailing lists