diff mbox

cpufreq: s3c24xx: rename CONFIG_CPU_FREQ_S3C24XX_DEBUGFS

Message ID 1373826596.1370.59.camel@x61.thuisdomein (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Paul Bolle July 14, 2013, 6:29 p.m. UTC
The Kconfig symbol CPU_FREQ_S3C24XX_DEBUGFS was renamed to
ARM_S3C24XX_CPUFREQ_DEBUGFS in commit f023f8dd59 ("cpufreq: s3c24xx:
move cpufreq driver to drivers/cpufreq"). But that commit missed one
instance of its macro CONFIG_CPU_FREQ_S3C24XX_DEBUGFS. Rename it too.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
---
Untested. Needs compile testing. But please note that setting
ARM_S3C24XX_CPUFREQ_DEBUGFS should currently lead to compile errors.

 drivers/cpufreq/s3c24xx-cpufreq.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Rafael Wysocki July 15, 2013, 12:14 a.m. UTC | #1
On Sunday, July 14, 2013 08:29:56 PM Paul Bolle wrote:
> The Kconfig symbol CPU_FREQ_S3C24XX_DEBUGFS was renamed to
> ARM_S3C24XX_CPUFREQ_DEBUGFS in commit f023f8dd59 ("cpufreq: s3c24xx:
> move cpufreq driver to drivers/cpufreq"). But that commit missed one
> instance of its macro CONFIG_CPU_FREQ_S3C24XX_DEBUGFS. Rename it too.
> 
> Signed-off-by: Paul Bolle <pebolle@tiscali.nl>

Queued up as a fix for 3.11.

Thanks,
Rafael


> ---
> Untested. Needs compile testing. But please note that setting
> ARM_S3C24XX_CPUFREQ_DEBUGFS should currently lead to compile errors.
> 
>  drivers/cpufreq/s3c24xx-cpufreq.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/cpufreq/s3c24xx-cpufreq.c b/drivers/cpufreq/s3c24xx-cpufreq.c
> index 3513e74..87781eb 100644
> --- a/drivers/cpufreq/s3c24xx-cpufreq.c
> +++ b/drivers/cpufreq/s3c24xx-cpufreq.c
> @@ -49,7 +49,7 @@ static struct clk *clk_hclk;
>  static struct clk *clk_pclk;
>  static struct clk *clk_arm;
>  
> -#ifdef CONFIG_CPU_FREQ_S3C24XX_DEBUGFS
> +#ifdef CONFIG_ARM_S3C24XX_CPUFREQ_DEBUGFS
>  struct s3c_cpufreq_config *s3c_cpufreq_getconfig(void)
>  {
>  	return &cpu_cur;
> @@ -59,7 +59,7 @@ struct s3c_iotimings *s3c_cpufreq_getiotimings(void)
>  {
>  	return &s3c24xx_iotiming;
>  }
> -#endif /* CONFIG_CPU_FREQ_S3C24XX_DEBUGFS */
> +#endif /* CONFIG_ARM_S3C24XX_CPUFREQ_DEBUGFS */
>  
>  static void s3c_cpufreq_getcur(struct s3c_cpufreq_config *cfg)
>  {
>
diff mbox

Patch

diff --git a/drivers/cpufreq/s3c24xx-cpufreq.c b/drivers/cpufreq/s3c24xx-cpufreq.c
index 3513e74..87781eb 100644
--- a/drivers/cpufreq/s3c24xx-cpufreq.c
+++ b/drivers/cpufreq/s3c24xx-cpufreq.c
@@ -49,7 +49,7 @@  static struct clk *clk_hclk;
 static struct clk *clk_pclk;
 static struct clk *clk_arm;
 
-#ifdef CONFIG_CPU_FREQ_S3C24XX_DEBUGFS
+#ifdef CONFIG_ARM_S3C24XX_CPUFREQ_DEBUGFS
 struct s3c_cpufreq_config *s3c_cpufreq_getconfig(void)
 {
 	return &cpu_cur;
@@ -59,7 +59,7 @@  struct s3c_iotimings *s3c_cpufreq_getiotimings(void)
 {
 	return &s3c24xx_iotiming;
 }
-#endif /* CONFIG_CPU_FREQ_S3C24XX_DEBUGFS */
+#endif /* CONFIG_ARM_S3C24XX_CPUFREQ_DEBUGFS */
 
 static void s3c_cpufreq_getcur(struct s3c_cpufreq_config *cfg)
 {