Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758516Ab3GZK05 (ORCPT ); Fri, 26 Jul 2013 06:26:57 -0400 Received: from mail-ob0-f173.google.com ([209.85.214.173]:44546 "EHLO mail-ob0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754601Ab3GZK0y (ORCPT ); Fri, 26 Jul 2013 06:26:54 -0400 MIME-Version: 1.0 In-Reply-To: <1374770011-22171-7-git-send-email-l.majewski@samsung.com> References: <1370502472-7249-1-git-send-email-l.majewski@samsung.com> <1374770011-22171-1-git-send-email-l.majewski@samsung.com> <1374770011-22171-7-git-send-email-l.majewski@samsung.com> Date: Fri, 26 Jul 2013 15:56:53 +0530 Message-ID: Subject: Re: [PATCH v6 6/8] cpufreq:exynos:Extend Exynos cpufreq driver to support boost framework From: Viresh Kumar To: Lukasz Majewski Cc: "Rafael J. Wysocki" , Zhang Rui , Eduardo Valentin , "cpufreq@vger.kernel.org" , Linux PM list , Jonghwa Lee , Lukasz Majewski , linux-kernel , Bartlomiej Zolnierkiewicz , Daniel Lezcano , Kukjin Kim , Myungjoo Ham , durgadoss.r@intel.com Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1302 Lines: 40 On 25 July 2013 22:03, Lukasz Majewski wrote: > diff --git a/drivers/cpufreq/exynos-cpufreq.c b/drivers/cpufreq/exynos-cpufreq.c > index 9ae1871..175172d9 100644 > --- a/drivers/cpufreq/exynos-cpufreq.c > +++ b/drivers/cpufreq/exynos-cpufreq.c > @@ -270,6 +270,9 @@ static int exynos_cpufreq_cpu_exit(struct cpufreq_policy *policy) > > static struct freq_attr *exynos_cpufreq_attr[] = { > &cpufreq_freq_attr_scaling_available_freqs, > +#ifdef CONFIG_CPU_FREQ_BOOST_SW Use ARM_EXYNOS_CPU_FREQ_BOOST_SW instead. > + &cpufreq_freq_attr_scaling_boost_freqs, > +#endif > NULL, > }; > > @@ -332,6 +335,9 @@ static int __init exynos_cpufreq_probe(struct platform_device *pdev) > > locking_frequency = exynos_getspeed(0); > > +#ifdef CONFIG_CPU_FREQ_BOOST_SW > + exynos_driver.boost_supported = true; > +#endif So, why here and not in the definition of exynos_driver? > register_pm_notifier(&exynos_cpufreq_nb); > > if (cpufreq_register_driver(&exynos_driver)) { > -- > 1.7.10.4 > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/