From: Uwe Kleine-König Date: Thu, 8 Mar 2012 19:36:44 +0000 (+0100) Subject: ARM: davinci: cpufreq: fix compiler warning X-Git-Tag: submit/tizen_common/20140905.094502~5672^2~1^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d870df6827d883e213811cdcc3f8d3b64dfa8ff8;p=sdk%2Femulator%2Femulator-kernel.git ARM: davinci: cpufreq: fix compiler warning This fixes: arch/arm/mach-davinci/cpufreq.c: In function davinci_target: arch/arm/mach-davinci/cpufreq.c:98: warning: passing argument 2 of dev_printk from incompatible pointer type Signed-off-by: Uwe Kleine-König Signed-off-by: Sekhar Nori --- diff --git a/arch/arm/mach-davinci/cpufreq.c b/arch/arm/mach-davinci/cpufreq.c index 5bba7070f271..031048fec9f5 100644 --- a/arch/arm/mach-davinci/cpufreq.c +++ b/arch/arm/mach-davinci/cpufreq.c @@ -95,7 +95,7 @@ static int davinci_target(struct cpufreq_policy *policy, if (freqs.old == freqs.new) return ret; - dev_dbg(&cpufreq.dev, "transition: %u --> %u\n", freqs.old, freqs.new); + dev_dbg(cpufreq.dev, "transition: %u --> %u\n", freqs.old, freqs.new); ret = cpufreq_frequency_table_target(policy, pdata->freq_table, freqs.new, relation, &idx);