diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-03-20 22:14:25 +0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2019-04-04 12:15:36 +0700 |
commit | d1ff8d07166b7388901137c551a4118054ca4760 (patch) | |
tree | b466de3c44f16ae1fe52b3b8a79dd70d9f1441c8 | |
parent | 0548448b719ac78fa18fdbcd03856952ba6cc7dc (diff) |
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>
-rw-r--r-- | drivers/pinctrl/freescale/pinctrl-scu.c | 2 |
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) { |