From: xxx Date: Tue, 22 Jan 2013 09:52:44 +0000 (+0800) Subject: add dvfs.c in mach-rk3188 file X-Git-Tag: firefly_0821_release~7857^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b74644388383740ae599863ecf05b8510f53bb6e;p=firefly-linux-kernel-4.4.55.git add dvfs.c in mach-rk3188 file --- diff --git a/arch/arm/mach-rk3188/Makefile b/arch/arm/mach-rk3188/Makefile index 0f767f7cafa6..9982b2aaffb2 100644 --- a/arch/arm/mach-rk3188/Makefile +++ b/arch/arm/mach-rk3188/Makefile @@ -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 diff --git a/arch/arm/mach-rk3188/clock_data.c b/arch/arm/mach-rk3188/clock_data.c index a19759f7508b..cb1efb83ba04 100755 --- a/arch/arm/mach-rk3188/clock_data.c +++ b/arch/arm/mach-rk3188/clock_data.c @@ -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(); } /*