[PATCH 2/2] PM / OPP: Export more symbols for module usage

From: Nishanth Menon
Date: Mon Jan 28 2013 - 13:26:48 EST


From: Mark Langsdorf <mark.langsdorf@xxxxxxxxxxx>

Export cpufreq helpers in OPP to make the cpufreq-core0 and highbank-cpufreq
drivers loadable as modules.

Cc: Shawn Guo <shawn.guo@xxxxxxxxxx>
Signed-off-by: Mark Langsdorf <mark.langsdorf@xxxxxxxxxxx>
Signed-off-by: Nishanth Menon <nm@xxxxxx>
---
drivers/base/power/opp.c | 3 +++
1 file changed, 3 insertions(+)

diff --git a/drivers/base/power/opp.c b/drivers/base/power/opp.c
index 0dbe270..32ee0fc 100644
--- a/drivers/base/power/opp.c
+++ b/drivers/base/power/opp.c
@@ -661,6 +661,7 @@ int opp_init_cpufreq_table(struct device *dev,

return 0;
}
+EXPORT_SYMBOL_GPL(opp_init_cpufreq_table);

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

/**
@@ -738,4 +740,5 @@ int of_init_opp_table(struct device *dev)

return 0;
}
+EXPORT_SYMBOL_GPL(of_init_opp_table);
#endif
--
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/