ARM: davinci: cpufreq: fix compiler warning
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 8 Mar 2012 19:36:44 +0000 (20:36 +0100)
committerSekhar Nori <nsekhar@ti.com>
Mon, 12 Mar 2012 19:54:14 +0000 (01:24 +0530)
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 <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/cpufreq.c

index 5bba707..031048f 100644 (file)
@@ -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);