lkml.org 
[lkml]   [2013]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH v7 3/7] thermal:boost: Automatic enable/disable of BOOST feature
    From
    On 13 August 2013 15:38, Lukasz Majewski <l.majewski@samsung.com> wrote:
    > diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h
    > index b5defd4..ec19da9 100644
    > --- a/include/linux/cpufreq.h
    > +++ b/include/linux/cpufreq.h
    > @@ -408,10 +408,24 @@ int cpufreq_frequency_table_target(struct cpufreq_policy *policy,
    >
    > void cpufreq_frequency_table_update_policy_cpu(struct cpufreq_policy *policy);
    > ssize_t cpufreq_show_cpus(const struct cpumask *mask, char *buf);
    > +#ifdef CONFIG_CPU_FREQ
    > int cpufreq_boost_trigger_state(int state);
    > int cpufreq_boost_supported(void);
    > int cpufreq_boost_enabled(void);
    > -
    > +#else
    > +static inline int cpufreq_boost_trigger_state(int state)
    > +{
    > + return 0;
    > +}
    > +static inline int cpufreq_boost_supported(void)
    > +{
    > + return 0;
    > +}
    > +static inline int cpufreq_boost_enabled(void)
    > +{
    > + return 0;
    > +}
    > +#endif

    I almost gave an Ack before I saw this :)
    This should be moved to the first patch I believe..


    \
     
     \ /
      Last update: 2013-08-26 08:01    [W:2.419 / U:0.172 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site