diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2012-03-08 20:36:44 +0100 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2012-03-13 01:24:14 +0530 |
commit | d870df6827d883e213811cdcc3f8d3b64dfa8ff8 (patch) | |
tree | dc15cfadd651b298dcce975a76ec47dd899038fa /arch | |
parent | fde7d9049e55ab85a390be7f415d74c9f62dd0f9 (diff) | |
download | op-kernel-dev-d870df6827d883e213811cdcc3f8d3b64dfa8ff8.zip op-kernel-dev-d870df6827d883e213811cdcc3f8d3b64dfa8ff8.tar.gz |
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 <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-davinci/cpufreq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-davinci/cpufreq.c b/arch/arm/mach-davinci/cpufreq.c index 5bba707..031048f 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); |