devfreq: exynos4: Move definition to remove build break
authorChanwoo Choi <cw00.choi@samsung.com>
Tue, 19 Aug 2014 05:13:38 +0000 (14:13 +0900)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 03:00:37 +0000 (12:00 +0900)
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 <cw00.choi@samsung.com>
drivers/devfreq/exynos/exynos4_bus.c
drivers/devfreq/exynos/exynos_ppmu.h

index 2e7bce2..6ccc5a6 100644 (file)
 
 #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;
index 16c81ad..783147d 100644 (file)
@@ -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;