diff options
author | Arnd Bergmann <arnd@arndb.de> | 2012-03-15 11:50:27 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-03-15 11:51:06 -0400 |
commit | f82989bde1cfa5e2b4614d8e4896d795dae418d9 (patch) | |
tree | 970cd7c833fad85acbf00be335b0ae8c4991b375 /arch/arm/mach-davinci | |
parent | 695d82fae9160406acb9de204c471248abcc2a9f (diff) | |
parent | 30c766bdeccf945615097ca185326c1d7199f023 (diff) |
Merge branch 'fixes' of git://gitorious.org/linux-davinci/linux-davinci into next/fixes-non-critical
* 'fixes' of git://gitorious.org/linux-davinci/linux-davinci: (2 commits)
ARM: davinci: DA850: move da850_register_pm to .init.text
ARM: davinci: cpufreq: fix compiler warning
(update to v3.3-rc7)
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-davinci')
-rw-r--r-- | arch/arm/mach-davinci/cpufreq.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-davinci/da850.c | 2 |
2 files changed, 2 insertions, 2 deletions
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, | |||
95 | if (freqs.old == freqs.new) | 95 | if (freqs.old == freqs.new) |
96 | return ret; | 96 | return ret; |
97 | 97 | ||
98 | dev_dbg(&cpufreq.dev, "transition: %u --> %u\n", freqs.old, freqs.new); | 98 | dev_dbg(cpufreq.dev, "transition: %u --> %u\n", freqs.old, freqs.new); |
99 | 99 | ||
100 | ret = cpufreq_frequency_table_target(policy, pdata->freq_table, | 100 | ret = cpufreq_frequency_table_target(policy, pdata->freq_table, |
101 | freqs.new, relation, &idx); | 101 | freqs.new, relation, &idx); |
diff --git a/arch/arm/mach-davinci/da850.c b/arch/arm/mach-davinci/da850.c index 992c4c410185..b44dc844e15e 100644 --- a/arch/arm/mach-davinci/da850.c +++ b/arch/arm/mach-davinci/da850.c | |||
@@ -1026,7 +1026,7 @@ static int da850_round_armrate(struct clk *clk, unsigned long rate) | |||
1026 | } | 1026 | } |
1027 | #endif | 1027 | #endif |
1028 | 1028 | ||
1029 | int da850_register_pm(struct platform_device *pdev) | 1029 | int __init da850_register_pm(struct platform_device *pdev) |
1030 | { | 1030 | { |
1031 | int ret; | 1031 | int ret; |
1032 | struct davinci_pm_config *pdata = pdev->dev.platform_data; | 1032 | struct davinci_pm_config *pdata = pdev->dev.platform_data; |