From: YueHaibing Date: Wed, 20 Mar 2019 14:14:25 +0000 (+0800) Subject: pinctrl: fsl: Make pinctrl_ipc_handle static X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=d1ff8d07166b7388901137c551a4118054ca4760;p=openwrt%2Fstaging%2Fblogic.git 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 Reviewed-by: Mukesh Ojha Signed-off-by: Linus Walleij --- 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) {