Commit f8c11b2b authored by Fabio Estevam's avatar Fabio Estevam Committed by Shawn Guo

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: default avatarFabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
parent 09898576
...@@ -73,7 +73,7 @@ static int imx6q_revision(void) ...@@ -73,7 +73,7 @@ static int imx6q_revision(void)
} }
} }
void imx6q_restart(char mode, const char *cmd) static void imx6q_restart(char mode, const char *cmd)
{ {
struct device_node *np; struct device_node *np;
void __iomem *wdog_base; void __iomem *wdog_base;
...@@ -256,7 +256,7 @@ static void __init imx6q_opp_init(struct device *cpu_dev) ...@@ -256,7 +256,7 @@ static void __init imx6q_opp_init(struct device *cpu_dev)
of_node_put(np); of_node_put(np);
} }
struct platform_device imx6q_cpufreq_pdev = { static struct platform_device imx6q_cpufreq_pdev = {
.name = "imx6q-cpufreq", .name = "imx6q-cpufreq",
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment