pinctrl: fsl: Make pinctrl_ipc_handle static
authorYueHaibing <yuehaibing@huawei.com>
Wed, 20 Mar 2019 14:14:25 +0000 (22:14 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 4 Apr 2019 05:15:36 +0000 (12:15 +0700)
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>
drivers/pinctrl/freescale/pinctrl-scu.c

index 83e69c0f39e6f245fec30b7f751f7da55fd0c003..73bf1d9f9cc6f098d572a4769bd689258c4b24b0 100644 (file)
@@ -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)
 {