diff mbox

[CPUFREQ] Move compile for S3C64XX cpufreq to /drivers/cpufreq

Message ID 1307410981-20392-1-git-send-email-kgene.kim@samsung.com (mailing list archive)
State New, archived
Headers show

Commit Message

Kim Kukjin June 7, 2011, 1:43 a.m. UTC
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Dave Jones <davej@redhat.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
---
 arch/arm/Kconfig                                 |    4 ----
 drivers/cpufreq/Kconfig.arm                      |    9 +++++++++
 drivers/cpufreq/Makefile                         |    2 +-
 drivers/cpufreq/{s3c64xx.c => s3c64xx-cpufreq.c} |    0
 4 files changed, 10 insertions(+), 5 deletions(-)
 rename drivers/cpufreq/{s3c64xx.c => s3c64xx-cpufreq.c} (100%)

diff --git a/drivers/cpufreq/s3c64xx.c b/drivers/cpufreq/s3c64xx-cpufreq.c
similarity index 100%
rename from drivers/cpufreq/s3c64xx.c
rename to drivers/cpufreq/s3c64xx-cpufreq.c

Comments

Tushar Behera June 7, 2011, 3:16 a.m. UTC | #1
Hi,

On Tuesday 07 June 2011 07:13 AM, Kukjin Kim wrote:
> Cc: Mark Brown<broonie@opensource.wolfsonmicro.com>
> Cc: Dave Jones<davej@redhat.com>
> Signed-off-by: Kukjin Kim<kgene.kim@samsung.com>
> ---
>   arch/arm/Kconfig                                 |    4 ----
>   drivers/cpufreq/Kconfig.arm                      |    9 +++++++++
>   drivers/cpufreq/Makefile                         |    2 +-
>   drivers/cpufreq/{s3c64xx.c =>  s3c64xx-cpufreq.c} |    0
>   4 files changed, 10 insertions(+), 5 deletions(-)
>   rename drivers/cpufreq/{s3c64xx.c =>  s3c64xx-cpufreq.c} (100%)
>
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index 9adc278..31c2899 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -1875,10 +1875,6 @@ config CPU_FREQ_PXA
>   	default y
>   	select CPU_FREQ_DEFAULT_GOV_USERSPACE
>
> -config CPU_FREQ_S3C64XX
> -	bool "CPUfreq support for Samsung S3C64XX CPUs"
> -	depends on CPU_FREQ&&  CPU_S3C6410
> -
>   config CPU_FREQ_S3C
>   	bool
>   	help
> diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm
> index e5c56c7..500982f 100644
> --- a/drivers/cpufreq/Kconfig.arm
> +++ b/drivers/cpufreq/Kconfig.arm
> @@ -2,6 +2,15 @@
>   # ARM CPU Frequency scaling drivers
>   #
>
> +config ARM_S3C64XX_CPUFREQ
> +	bool "Samsung S3C64XX"
> +	depends on CPU_S3C6410
> +	default y
> +	help
> +	  This adds the CPUFreq driver for Samsung S5C6410 SoC.
S3C6410?
> +
> +	  If in doubt, say N.
> +
>   config ARM_S5PV210_CPUFREQ
>   	bool "Samsung S5PV210 and S5PC110"
>   	depends on CPU_S5PV210
> diff --git a/drivers/cpufreq/Makefile b/drivers/cpufreq/Makefile
> index 5419478..ab75e57 100644
> --- a/drivers/cpufreq/Makefile
> +++ b/drivers/cpufreq/Makefile
> @@ -40,6 +40,6 @@ obj-$(CONFIG_X86_CPUFREQ_NFORCE2)	+= cpufreq-nforce2.o
>   ##################################################################################
>   # ARM SoC drivers
>   obj-$(CONFIG_UX500_SOC_DB8500)		+= db8500-cpufreq.o
> -obj-$(CONFIG_CPU_FREQ_S3C64XX)		+= s3c64xx.o
> +obj-$(CONFIG_ARM_S3C64XX_CPUFREQ)	+= s3c64xx-cpufreq.o
>   obj-$(CONFIG_ARM_S5PV210_CPUFREQ)	+= s5pv210-cpufreq.o
>   obj-$(CONFIG_ARM_EXYNOS4210_CPUFREQ)	+= exynos4210-cpufreq.o
> diff --git a/drivers/cpufreq/s3c64xx.c b/drivers/cpufreq/s3c64xx-cpufreq.c
> similarity index 100%
> rename from drivers/cpufreq/s3c64xx.c
> rename to drivers/cpufreq/s3c64xx-cpufreq.c
Kim Kukjin June 7, 2011, 3:19 a.m. UTC | #2
On 06/06/11 20:16, Tushar Behera wrote:
> Hi,
>

(snip)

>> + This adds the CPUFreq driver for Samsung S5C6410 SoC.
> S3C6410?

Oops, typo.
Tushar, thanks for your pointing out :)

Dave, if you need to re-submit for above, please let me know.

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.
Dave Jones June 7, 2011, 3:26 a.m. UTC | #3
On Mon, Jun 06, 2011 at 08:19:03PM -0700, Kukjin Kim wrote:
 > On 06/06/11 20:16, Tushar Behera wrote:
 > > Hi,
 > >
 > 
 > (snip)
 > 
 > >> + This adds the CPUFreq driver for Samsung S5C6410 SoC.
 > > S3C6410?
 > 
 > Oops, typo.
 > Tushar, thanks for your pointing out :)
 > 
 > Dave, if you need to re-submit for above, please let me know.

no problem, I'll fix it up and recreate the tree.

	Dave
diff mbox

Patch

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 9adc278..31c2899 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1875,10 +1875,6 @@  config CPU_FREQ_PXA
 	default y
 	select CPU_FREQ_DEFAULT_GOV_USERSPACE
 
-config CPU_FREQ_S3C64XX
-	bool "CPUfreq support for Samsung S3C64XX CPUs"
-	depends on CPU_FREQ && CPU_S3C6410
-
 config CPU_FREQ_S3C
 	bool
 	help
diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm
index e5c56c7..500982f 100644
--- a/drivers/cpufreq/Kconfig.arm
+++ b/drivers/cpufreq/Kconfig.arm
@@ -2,6 +2,15 @@ 
 # ARM CPU Frequency scaling drivers
 #
 
+config ARM_S3C64XX_CPUFREQ
+	bool "Samsung S3C64XX"
+	depends on CPU_S3C6410
+	default y
+	help
+	  This adds the CPUFreq driver for Samsung S5C6410 SoC.
+
+	  If in doubt, say N.
+
 config ARM_S5PV210_CPUFREQ
 	bool "Samsung S5PV210 and S5PC110"
 	depends on CPU_S5PV210
diff --git a/drivers/cpufreq/Makefile b/drivers/cpufreq/Makefile
index 5419478..ab75e57 100644
--- a/drivers/cpufreq/Makefile
+++ b/drivers/cpufreq/Makefile
@@ -40,6 +40,6 @@  obj-$(CONFIG_X86_CPUFREQ_NFORCE2)	+= cpufreq-nforce2.o
 ##################################################################################
 # ARM SoC drivers
 obj-$(CONFIG_UX500_SOC_DB8500)		+= db8500-cpufreq.o
-obj-$(CONFIG_CPU_FREQ_S3C64XX)		+= s3c64xx.o
+obj-$(CONFIG_ARM_S3C64XX_CPUFREQ)	+= s3c64xx-cpufreq.o
 obj-$(CONFIG_ARM_S5PV210_CPUFREQ)	+= s5pv210-cpufreq.o
 obj-$(CONFIG_ARM_EXYNOS4210_CPUFREQ)	+= exynos4210-cpufreq.o