projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f4bc73
)
ARM: sunxi: make sun6i SMP ops static
author
Emilio López
<emilio@elopez.com.ar>
Sat, 15 Nov 2014 23:53:38 +0000
(20:53 -0300)
committer
Maxime Ripard
<maxime.ripard@free-electrons.com>
Sun, 16 Nov 2014 10:02:33 +0000
(11:02 +0100)
The sun6i SMP ops are currently not marked as static, as reported by
sparse. Let's mark it as such.
Signed-off-by: Emilio López <emilio@elopez.com.ar>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/mach-sunxi/platsmp.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-sunxi/platsmp.c
b/arch/arm/mach-sunxi/platsmp.c
index
c53077b
..
e44d028
100644
(file)
--- a/
arch/arm/mach-sunxi/platsmp.c
+++ b/
arch/arm/mach-sunxi/platsmp.c
@@
-116,7
+116,7
@@
static int sun6i_smp_boot_secondary(unsigned int cpu,
return 0;
}
-struct smp_operations sun6i_smp_ops __initdata = {
+st
atic st
ruct smp_operations sun6i_smp_ops __initdata = {
.smp_prepare_cpus = sun6i_smp_prepare_cpus,
.smp_boot_secondary = sun6i_smp_boot_secondary,
};