summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChanwoo Choi <cw00.choi@samsung.com>2014-08-19 14:13:38 +0900
committerChanho Park <chanho61.park@samsung.com>2014-11-18 12:00:37 +0900
commit8e6edc1074c46c8487ccdc9326be977aba956b4e (patch)
treec95a6f4ae5a146765c323b3813b6510fd0602e4d
parent079c7643d9a1374e2dd691c96472f5ef2cbd44fa (diff)
downloadlinux-3.10-8e6edc1074c46c8487ccdc9326be977aba956b4e.tar.gz
linux-3.10-8e6edc1074c46c8487ccdc9326be977aba956b4e.tar.bz2
linux-3.10-8e6edc1074c46c8487ccdc9326be977aba956b4e.zip
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 <cw00.choi@samsung.com>
-rw-r--r--drivers/devfreq/exynos/exynos4_bus.c6
-rw-r--r--drivers/devfreq/exynos/exynos_ppmu.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/drivers/devfreq/exynos/exynos4_bus.c b/drivers/devfreq/exynos/exynos4_bus.c
index 2e7bce22412..6ccc5a66977 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 16c81ad572f..783147d2011 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;