summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMircea Gherzan <mgherzan@gmail.com>2012-03-11 17:27:37 +0800
committerAndy Green <andy.green@linaro.org>2012-03-11 17:27:37 +0800
commit746a3184c242eed3b9f95d7351815d5f162edab4 (patch)
tree2177d9c6b765c04f43d5dd24401a7a4d8feaaf88
parent113ee97c991389ebf49805e9ca0d59433e3e39b2 (diff)
OPP export symbols for modules
The symbols are currently used the the omap-abe-dsp code. Signed-off-by: Mircea Gherzan <mgherzan@gmail.com>
-rw-r--r--drivers/base/power/opp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/base/power/opp.c b/drivers/base/power/opp.c
index b1e333a020f..069d7e5ce9e 100644
--- a/drivers/base/power/opp.c
+++ b/drivers/base/power/opp.c
@@ -14,6 +14,7 @@
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/err.h>
+#include <linux/export.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/cpufreq.h>
@@ -219,6 +220,7 @@ int opp_get_opp_count(struct device *dev)
return count;
}
+EXPORT_SYMBOL(opp_get_opp_count);
/**
* opp_find_freq_exact() - search for an exact frequency
@@ -354,6 +356,7 @@ struct opp *opp_find_freq_floor(struct device *dev, unsigned long *freq)
return opp;
}
+EXPORT_SYMBOL(opp_find_freq_floor);
/**
* opp_add() - Add an OPP table from a table definitions