aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/cpu-omap.c
diff options
context:
space:
mode:
authorMing Lei <tom.leiming@gmail.com>2011-03-02 17:41:46 -0500
committerTony Lindgren <tony@atomide.com>2011-03-02 19:32:52 -0500
commit790ab7e92bec24aee3939b300d36b99ab2e3f3ca (patch)
tree390e3de110baaee016faf48a949d10817d72d5a5 /arch/arm/plat-omap/cpu-omap.c
parentdd9c1549edef02290edced639f67b54a25abbe0e (diff)
arm: omap: fix section mismatch warning
WARNING: arch/arm/plat-omap/built-in.o(.data+0x6d4): Section mismatch in reference from the variable omap_driver to the function .init.text:omap_cpu_init() The variable omap_driver references the function __init omap_cpu_init() If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name the variable: *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console, Signed-off-by: Ming Lei <tom.leiming@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/plat-omap/cpu-omap.c')
-rw-r--r--arch/arm/plat-omap/cpu-omap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/cpu-omap.c b/arch/arm/plat-omap/cpu-omap.c
index 11c54ec8d47f..da4f68dbba1d 100644
--- a/arch/arm/plat-omap/cpu-omap.c
+++ b/arch/arm/plat-omap/cpu-omap.c
@@ -101,7 +101,7 @@ static int omap_target(struct cpufreq_policy *policy,
101 return ret; 101 return ret;
102} 102}
103 103
104static int __init omap_cpu_init(struct cpufreq_policy *policy) 104static int __cpuinit omap_cpu_init(struct cpufreq_policy *policy)
105{ 105{
106 int result = 0; 106 int result = 0;
107 107