@@ -79,7 +79,7 @@ config ARM_EXYNOS4_BUS_DEVFREQ
To operate with optimal voltages, ASV support is required
(CONFIG_EXYNOS_ASV).
-config ARM_EXYNOS5_BUS_DEVFREQ
+config ARM_EXYNOS5250_BUS_DEVFREQ
bool "ARM Exynos5250 Bus DEVFREQ Driver"
depends on SOC_EXYNOS5250
select ARCH_HAS_OPP
@@ -6,4 +6,4 @@ obj-$(CONFIG_DEVFREQ_GOV_USERSPACE) += governor_userspace.o
# DEVFREQ Drivers
obj-$(CONFIG_ARM_EXYNOS4_BUS_DEVFREQ) += exynos/
-obj-$(CONFIG_ARM_EXYNOS5_BUS_DEVFREQ) += exynos/
+obj-$(CONFIG_ARM_EXYNOS5250_BUS_DEVFREQ)+= exynos/
@@ -1,3 +1,4 @@
# Exynos DEVFREQ Drivers
-obj-$(CONFIG_ARM_EXYNOS4_BUS_DEVFREQ) += exynos_ppmu.o exynos4_bus.o
-obj-$(CONFIG_ARM_EXYNOS5_BUS_DEVFREQ) += exynos_ppmu.o exynos5_bus.o
+obj-y := exynos_ppmu.o
+obj-$(CONFIG_ARM_EXYNOS4_BUS_DEVFREQ) += exynos4_bus.o
+obj-$(CONFIG_ARM_EXYNOS5250_BUS_DEVFREQ) += exynos5250_bus.o
In anticipation of the new 5420 devfreq driver which is significantly different in structure as compared to the 5250 one let us modify the exynos5250 driver name. Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com> --- drivers/devfreq/Kconfig | 2 +- drivers/devfreq/Makefile | 2 +- drivers/devfreq/exynos/Makefile | 5 +++-- drivers/devfreq/exynos/{exynos5_bus.c => exynos5250_bus.c} | 0 4 files changed, 5 insertions(+), 4 deletions(-) rename drivers/devfreq/exynos/{exynos5_bus.c => exynos5250_bus.c} (100%) diff --git a/drivers/devfreq/exynos/exynos5_bus.c b/drivers/devfreq/exynos/exynos5250_bus.c similarity index 100% rename from drivers/devfreq/exynos/exynos5_bus.c rename to drivers/devfreq/exynos/exynos5250_bus.c