summaryrefslogtreecommitdiffstats
path: root/mm/mm_init.c
diff options
context:
space:
mode:
authorviresh kumar <viresh.kumar@linaro.org>2013-11-13 11:09:23 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-11-14 00:52:48 +0100
commit696d0b2c786161ddc1e80dcddce7d34c2a709566 (patch)
tree54bc6eb2272d06be0b3528b8f1f88996114d6f21 /mm/mm_init.c
parentcpufreq: conservative: set requested_freq to policy max when it is over polic... (diff)
downloadlinux-696d0b2c786161ddc1e80dcddce7d34c2a709566.tar.xz
linux-696d0b2c786161ddc1e80dcddce7d34c2a709566.zip
cpufreq: OMAP: Fix compilation error 'r & ret undeclared'
With a recent change "d4019f0 cpufreq: move freq change notifications to cpufreq core" few variables (r & ret) are removed by mistake and hence these warnings: drivers/cpufreq/omap-cpufreq.c: In function omap_target: drivers/cpufreq/omap-cpufreq.c:64:2: error: ret undeclared (first use in this function) drivers/cpufreq/omap-cpufreq.c:64:2: note: each undeclared identifier is reported only once for each function it appears in drivers/cpufreq/omap-cpufreq.c:94:3: error: r undeclared (first use in this function) drivers/cpufreq/omap-cpufreq.c:116:1: warning: control reaches end of non-void function [-Wreturn-type] Lets fix them by declaring those variables again. Fixes: d4019f0a92ab (cpufreq: move freq change notifications to cpufreq core) Reported-by: Sebastian Capella <sebastian.capella@linaro.org> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'mm/mm_init.c')
0 files changed, 0 insertions, 0 deletions