add dvfs.c in mach-rk3188 file
authorxxx <xxx@rock-chips.com>
Tue, 22 Jan 2013 09:52:44 +0000 (17:52 +0800)
committerxxx <xxx@rock-chips.com>
Tue, 22 Jan 2013 09:52:44 +0000 (17:52 +0800)
arch/arm/mach-rk3188/Makefile
arch/arm/mach-rk3188/clock_data.c

index 0f767f7cafa6ca12e2785373a65d07473bd0e40c..9982b2aaffb243b91f94899a8cbad198a7b0bc5b 100644 (file)
@@ -16,7 +16,7 @@ obj-$(CONFIG_SMP) += ../mach-rk30/platsmp.o ../mach-rk30/headsmp.o
 obj-$(CONFIG_HOTPLUG_CPU) += ../mach-rk30/hotplug.o
 obj-$(CONFIG_CPU_IDLE) += ../mach-rk30/cpuidle.o
 obj-$(CONFIG_CPU_FREQ) += ../mach-rk30/cpufreq.o
-obj-$(CONFIG_DVFS) += ../mach-rk30/dvfs.o
+obj-$(CONFIG_DVFS) += dvfs.o
 
 obj-$(CONFIG_MACH_RK3188_FPGA) += board-rk3188-fpga.o
 obj-$(CONFIG_MACH_RK3188_TB) += ../mach-rk30/board-rk3168-tb.o
index a19759f7508b106c426d3d097fb3085009ae9c90..cb1efb83ba0472944476c3e20bf4d5ea58ffc816 100755 (executable)
@@ -3180,12 +3180,12 @@ void __init _rk30_clock_data_init(unsigned long gpll, unsigned long cpll, int fl
        //cru_writel(0x07000000,CRU_MISC_CON);
 
 }
-extern int rk30_dvfs_init(void);
+extern int rk3188_dvfs_init(void);
 
 void __init rk30_clock_data_init(unsigned long gpll, unsigned long cpll, u32 flags)
 {
        _rk30_clock_data_init(gpll, cpll, flags);
-       rk30_dvfs_init();
+       rk3188_dvfs_init();
 }
 
 /*