summaryrefslogtreecommitdiff
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-03-20 17:14:25 +0300
committerLinus Walleij <linus.walleij@linaro.org>2019-04-04 08:15:36 +0300
commitd1ff8d07166b7388901137c551a4118054ca4760 (patch)
treeb466de3c44f16ae1fe52b3b8a79dd70d9f1441c8 /drivers/pinctrl
parent0548448b719ac78fa18fdbcd03856952ba6cc7dc (diff)
downloadlinux-d1ff8d07166b7388901137c551a4118054ca4760.tar.xz
pinctrl: fsl: Make pinctrl_ipc_handle static
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@huawei.com> Reviewed-by: Mukesh Ojha <mojha@codeaurora.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r--drivers/pinctrl/freescale/pinctrl-scu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/freescale/pinctrl-scu.c b/drivers/pinctrl/freescale/pinctrl-scu.c
index 83e69c0f39e6..73bf1d9f9cc6 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)
{