* [PATCH] cpufreq: s3c24xx: rename CONFIG_CPU_FREQ_S3C24XX_DEBUGFS
@ 2013-07-14 18:29 Paul Bolle
2013-07-15 0:14 ` Rafael J. Wysocki
0 siblings, 1 reply; 2+ messages in thread
From: Paul Bolle @ 2013-07-14 18:29 UTC (permalink / raw)
To: Rafael J. Wysocki, Viresh Kumar; +Cc: cpufreq, linux-pm, linux-kernel
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(-)
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)
{
--
1.8.1.4
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] cpufreq: s3c24xx: rename CONFIG_CPU_FREQ_S3C24XX_DEBUGFS
2013-07-14 18:29 [PATCH] cpufreq: s3c24xx: rename CONFIG_CPU_FREQ_S3C24XX_DEBUGFS Paul Bolle
@ 2013-07-15 0:14 ` Rafael J. Wysocki
0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2013-07-15 0:14 UTC (permalink / raw)
To: Paul Bolle; +Cc: Viresh Kumar, cpufreq, linux-pm, linux-kernel
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)
> {
>
--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-07-15 0:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-14 18:29 [PATCH] cpufreq: s3c24xx: rename CONFIG_CPU_FREQ_S3C24XX_DEBUGFS Paul Bolle
2013-07-15 0:14 ` Rafael J. Wysocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®