From: Chanwoo Choi Date: Tue, 19 Aug 2014 05:13:38 +0000 (+0900) Subject: devfreq: exynos4: Move definition to remove build break X-Git-Tag: submit/tizen/20141121.110247~312 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8e6edc1074c46c8487ccdc9326be977aba956b4e;p=platform%2Fkernel%2Flinux-3.10.git 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 --- 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;