diff options
author | Chanwoo Choi <cw00.choi@samsung.com> | 2014-08-19 14:13:38 +0900 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2014-08-19 19:13:43 +0900 |
commit | 86a68df384342287e2faafe69d27ea0ddbf5787c (patch) | |
tree | dc324f43f785a5cacfc51bd06acd0b855a81a502 /drivers | |
parent | 950c32cb9b56f98834d963508f67a7c8c65bc741 (diff) | |
download | linux-3.10-86a68df384342287e2faafe69d27ea0ddbf5787c.tar.gz linux-3.10-86a68df384342287e2faafe69d27ea0ddbf5787c.tar.bz2 linux-3.10-86a68df384342287e2faafe69d27ea0ddbf5787c.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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/devfreq/exynos/exynos4_bus.c | 6 | ||||
-rw-r--r-- | 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 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; |