projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0548448
)
pinctrl: fsl: Make pinctrl_ipc_handle static
author
YueHaibing
<yuehaibing@huawei.com>
Wed, 20 Mar 2019 14:14:25 +0000
(22:14 +0800)
committer
Linus 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
patch
|
blob
|
history
diff --git
a/drivers/pinctrl/freescale/pinctrl-scu.c
b/drivers/pinctrl/freescale/pinctrl-scu.c
index
83e69c0
..
73bf1d9
100644
(file)
--- 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;
+st
atic st
ruct imx_sc_ipc *pinctrl_ipc_handle;
int imx_pinctrl_sc_ipc_init(struct platform_device *pdev)
{