From 86a68df384342287e2faafe69d27ea0ddbf5787c Mon Sep 17 00:00:00 2001 From: Chanwoo Choi Date: Tue, 19 Aug 2014 14:13:38 +0900 Subject: [PATCH] devfreq: exynos4: Move definition to remove build break This patch simply move the definition about PPMU remove build break when building both exynos3_bus and exynos4_bus driver. Change-Id: I4cb6e42644eb7ce2ef17d3de923eba87af0f7923 Signed-off-by: Chanwoo Choi --- drivers/devfreq/exynos/exynos4_bus.c | 6 ++++++ drivers/devfreq/exynos/exynos_ppmu.h | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/devfreq/exynos/exynos4_bus.c b/drivers/devfreq/exynos/exynos4_bus.c index 2e7bce2..6ccc5a6 100644 --- a/drivers/devfreq/exynos/exynos4_bus.c +++ b/drivers/devfreq/exynos/exynos4_bus.c @@ -29,6 +29,12 @@ #include "exynos_ppmu.h" +enum ppmu_type { + PPMU_DMC0, + PPMU_DMC1, + PPMU_CNT, +}; + /* Exynos4 ASV has been in the mailing list, but not upstreamed, yet. */ #ifdef CONFIG_EXYNOS_ASV extern unsigned int exynos_result_of_asv; diff --git a/drivers/devfreq/exynos/exynos_ppmu.h b/drivers/devfreq/exynos/exynos_ppmu.h index 16c81ad..783147d 100644 --- a/drivers/devfreq/exynos/exynos_ppmu.h +++ b/drivers/devfreq/exynos/exynos_ppmu.h @@ -52,12 +52,6 @@ enum ppmu_counter { PPMU_PMNCNT_MAX, }; -enum ppmu_type { - PPMU_DMC0, - PPMU_DMC1, - PPMU_CNT, -}; - struct bus_opp_table { unsigned int idx; unsigned long clk; -- 2.7.4