diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2013-03-25 08:20:44 -0400 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2013-04-01 04:17:52 -0400 |
commit | f8c11b2b36a7a0f14ac98c4ca599151e1a720132 (patch) | |
tree | f12a73bb1cba34913042bdf26edc4e881bcc9c5e | |
parent | 0989857625ba9d446916495f619435a3b42e7be4 (diff) |
ARM: mach-imx: mach-imx6q: Fix sparse warnings
Fix the following sparse warnings:
arch/arm/mach-imx/mach-imx6q.c:60:6: warning: symbol 'imx6q_restart' was not declared. Should it be static?
arch/arm/mach-imx/mach-imx6q.c:223:24: warning: symbol 'imx6q_cpufreq_pdev' was not declared. Should it be static?
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
-rw-r--r-- | arch/arm/mach-imx/mach-imx6q.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-imx/mach-imx6q.c b/arch/arm/mach-imx/mach-imx6q.c index 9ffd103b27e4..fe1b7aafabdc 100644 --- a/arch/arm/mach-imx/mach-imx6q.c +++ b/arch/arm/mach-imx/mach-imx6q.c | |||
@@ -73,7 +73,7 @@ static int imx6q_revision(void) | |||
73 | } | 73 | } |
74 | } | 74 | } |
75 | 75 | ||
76 | void imx6q_restart(char mode, const char *cmd) | 76 | static void imx6q_restart(char mode, const char *cmd) |
77 | { | 77 | { |
78 | struct device_node *np; | 78 | struct device_node *np; |
79 | void __iomem *wdog_base; | 79 | void __iomem *wdog_base; |
@@ -256,7 +256,7 @@ put_node: | |||
256 | of_node_put(np); | 256 | of_node_put(np); |
257 | } | 257 | } |
258 | 258 | ||
259 | struct platform_device imx6q_cpufreq_pdev = { | 259 | static struct platform_device imx6q_cpufreq_pdev = { |
260 | .name = "imx6q-cpufreq", | 260 | .name = "imx6q-cpufreq", |
261 | }; | 261 | }; |
262 | 262 | ||