From c4aaa2957b6c6858459653307e67982924717d21 Mon Sep 17 00:00:00 2001 From: Kukjin Kim Date: Fri, 28 Dec 2012 16:29:10 -0800 Subject: [PATCH] cpufreq: exynos: cleanup exynos-cpufreq header Cc: Rafael J. Wysocki Signed-off-by: Kukjin Kim --- drivers/cpufreq/exynos-cpufreq.c | 4 ++-- .../mach/cpufreq.h => drivers/cpufreq/exynos-cpufreq.h | 3 +-- drivers/cpufreq/exynos4210-cpufreq.c | 3 ++- drivers/cpufreq/exynos4x12-cpufreq.c | 3 ++- drivers/cpufreq/exynos5250-cpufreq.c | 3 ++- 5 files changed, 9 insertions(+), 7 deletions(-) rename arch/arm/mach-exynos/include/mach/cpufreq.h => drivers/cpufreq/exynos-cpufreq.h (94%) diff --git a/drivers/cpufreq/exynos-cpufreq.c b/drivers/cpufreq/exynos-cpufreq.c index 7012ea8bf1e7..caf638b585b5 100644 --- a/drivers/cpufreq/exynos-cpufreq.c +++ b/drivers/cpufreq/exynos-cpufreq.c @@ -18,10 +18,10 @@ #include #include -#include - #include +#include "exynos-cpufreq.h" + static struct exynos_dvfs_info *exynos_info; static struct regulator *arm_regulator; diff --git a/arch/arm/mach-exynos/include/mach/cpufreq.h b/drivers/cpufreq/exynos-cpufreq.h similarity index 94% rename from arch/arm/mach-exynos/include/mach/cpufreq.h rename to drivers/cpufreq/exynos-cpufreq.h index 7517c3f417af..25c748b9b910 100644 --- a/arch/arm/mach-exynos/include/mach/cpufreq.h +++ b/drivers/cpufreq/exynos-cpufreq.h @@ -1,5 +1,4 @@ -/* linux/arch/arm/mach-exynos/include/mach/cpufreq.h - * +/* * Copyright (c) 2010 Samsung Electronics Co., Ltd. * http://www.samsung.com * diff --git a/drivers/cpufreq/exynos4210-cpufreq.c b/drivers/cpufreq/exynos4210-cpufreq.c index fb148fa27678..a5d0a8184220 100644 --- a/drivers/cpufreq/exynos4210-cpufreq.c +++ b/drivers/cpufreq/exynos4210-cpufreq.c @@ -18,7 +18,8 @@ #include #include -#include + +#include "exynos-cpufreq.h" #define CPUFREQ_LEVEL_END L5 diff --git a/drivers/cpufreq/exynos4x12-cpufreq.c b/drivers/cpufreq/exynos4x12-cpufreq.c index 8c5a7afa5b0b..63ff74eec521 100644 --- a/drivers/cpufreq/exynos4x12-cpufreq.c +++ b/drivers/cpufreq/exynos4x12-cpufreq.c @@ -18,7 +18,8 @@ #include #include -#include + +#include "exynos-cpufreq.h" #define CPUFREQ_LEVEL_END (L13 + 1) diff --git a/drivers/cpufreq/exynos5250-cpufreq.c b/drivers/cpufreq/exynos5250-cpufreq.c index e64c253cb169..407126c2d7c6 100644 --- a/drivers/cpufreq/exynos5250-cpufreq.c +++ b/drivers/cpufreq/exynos5250-cpufreq.c @@ -19,7 +19,8 @@ #include #include -#include + +#include "exynos-cpufreq.h" #define CPUFREQ_LEVEL_END (L15 + 1) -- 2.20.1