lkml.org 
[lkml]   [2012]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5/6] power: export opp cpufreq functions
    Date
    Signed-off-by: Mark Langsdorf <mark.langsdorf@calxeda.com>
    Cc: linux-pm@vger.kernel.org

    ---
    drivers/base/power/opp.c | 4 ++++
    1 file changed, 4 insertions(+)

    diff --git a/drivers/base/power/opp.c b/drivers/base/power/opp.c
    index d946864..37dc5f4 100644
    --- a/drivers/base/power/opp.c
    +++ b/drivers/base/power/opp.c
    @@ -23,6 +23,7 @@
    #include <linux/rcupdate.h>
    #include <linux/opp.h>
    #include <linux/of.h>
    +#include <linux/module.h>

    /*
    * Internal data structure organization with the OPP layer library is as
    @@ -643,6 +644,7 @@ int opp_init_cpufreq_table(struct device *dev,

    return 0;
    }
    +EXPORT_SYMBOL(opp_init_cpufreq_table);

    /**
    * opp_free_cpufreq_table() - free the cpufreq table
    @@ -660,6 +662,7 @@ void opp_free_cpufreq_table(struct device *dev,
    kfree(*table);
    *table = NULL;
    }
    +EXPORT_SYMBOL(opp_free_cpufreq_table);
    #endif /* CONFIG_CPU_FREQ */

    /**
    @@ -720,4 +723,5 @@ int of_init_opp_table(struct device *dev)

    return 0;
    }
    +EXPORT_SYMBOL(of_init_opp_table);
    #endif
    --
    1.7.11.7


    \
     
     \ /
      Last update: 2012-10-30 22:21    [W:2.649 / U:0.440 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site