summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/pm.c
diff options
context:
space:
mode:
authormattis fjallstrom <mattis@acm.org>2015-04-13 16:04:20 -0700
committermattis fjallstrom <mattis@acm.org>2015-04-13 16:04:20 -0700
commit26621f86d74d70df0afdb4fc1de819ced3a074f2 (patch)
tree56e8ad674e9497ca2f59947241df454a4972f0e6 /arch/arm/mach-omap2/pm.c
parent99dfd80f9e45d96d2cdc2323354286f1666c575e (diff)
downloadolio-linux-3.10-26621f86d74d70df0afdb4fc1de819ced3a074f2.tar.xz
olio-linux-3.10-26621f86d74d70df0afdb4fc1de819ced3a074f2.zip
Power savings - device tree was needed for some of the power changes, that's fixed. However, the OPPs from our board file did not get picked up when a device tree existed, so the opp.c and pm.c files had to be hacked a bit.
Change-Id: If3d6de76bb50ad79cbb10548b55cf7a7da6fb8e7
Diffstat (limited to 'arch/arm/mach-omap2/pm.c')
-rw-r--r--arch/arm/mach-omap2/pm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/pm.c b/arch/arm/mach-omap2/pm.c
index b06b22c3f64..303a8d2012b 100644
--- a/arch/arm/mach-omap2/pm.c
+++ b/arch/arm/mach-omap2/pm.c
@@ -276,6 +276,8 @@ static inline void omap_init_cpufreq(void)
devinfo.name = "omap-cpufreq";
else
devinfo.name = "cpufreq-cpu0";
+
+ devinfo.name = "omap-cpufreq"; /* OLIO HACK */
platform_device_register_full(&devinfo);
}