[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [RFC PATCH 1/7] PM / OPP: make cpufreq functions dependent on CONFIG_CPU_FREQ_TABLE
On Wed, Oct 8, 2014 at 4:52 PM, Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx> wrote: > On Tue, 7 Oct 2014, Oleksandr Dmytryshyn wrote: >> Those functions should be dependent on CONFIG_CPU_FREQ_TABLE >> instead of the CONFIG_CPU_FREQ. >> >> Signed-off-by: Oleksandr Dmytryshyn <oleksandr.dmytryshyn@xxxxxxxxxxxxxxx> > > You need to CC the relevant maintainers. I'll CC Kernel folks in the next patch-set. >> drivers/base/power/opp.c | 4 ++-- >> include/linux/opp.h | 2 +- >> 2 files changed, 3 insertions(+), 3 deletions(-) >> >> diff --git a/drivers/base/power/opp.c b/drivers/base/power/opp.c >> index 32ee0fc..17c5bc5 100644 >> --- a/drivers/base/power/opp.c >> +++ b/drivers/base/power/opp.c >> @@ -592,7 +592,7 @@ int opp_disable(struct device *dev, unsigned long freq) >> } >> EXPORT_SYMBOL_GPL(opp_disable); >> >> -#ifdef CONFIG_CPU_FREQ >> +#ifdef CONFIG_CPU_FREQ_TABLE >> /** >> * opp_init_cpufreq_table() - create a cpufreq table for a device >> * @dev: device for which we do this operation >> @@ -680,7 +680,7 @@ void opp_free_cpufreq_table(struct device *dev, >> *table = NULL; >> } >> EXPORT_SYMBOL_GPL(opp_free_cpufreq_table); >> -#endif /* CONFIG_CPU_FREQ */ >> +#endif /* CONFIG_CPU_FREQ_TABLE */ >> >> /** >> * opp_get_notifier() - find notifier_head of the device with opp >> diff --git a/include/linux/opp.h b/include/linux/opp.h >> index 214e0eb..35c98f3 100644 >> --- a/include/linux/opp.h >> +++ b/include/linux/opp.h >> @@ -112,7 +112,7 @@ static inline struct srcu_notifier_head >> *opp_get_notifier(struct device *dev) >> } >> #endif /* CONFIG_PM_OPP */ >> >> -#if defined(CONFIG_CPU_FREQ) && defined(CONFIG_PM_OPP) >> +#if defined(CONFIG_CPU_FREQ_TABLE) && defined(CONFIG_PM_OPP) >> int opp_init_cpufreq_table(struct device *dev, >> struct cpufreq_frequency_table **table); >> void opp_free_cpufreq_table(struct device *dev, >> -- >> 1.9.1 >> >> >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@xxxxxxxxxxxxx >> http://lists.xen.org/xen-devel >> _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |