aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-11-27 10:35:08 +0800
committerEric Miao <eric.miao@linaro.org>2012-01-03 21:08:53 +0800
commitf11d4f4c274e9289a56b547e70584d2b007783f9 (patch)
tree1f85dcd1d67bec93ba1926315ee908fe672e2367
parent53b6355e236b1b99dfe8eb04ea53f4bbf8066432 (diff)
regulator: Staticise of_get_fixed_voltage_config()
It is not used outside this driver so no need to make the symbol global. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r--drivers/regulator/fixed.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/regulator/fixed.c b/drivers/regulator/fixed.c
index 2997f11af90..703c26b756d 100644
--- a/drivers/regulator/fixed.c
+++ b/drivers/regulator/fixed.c
@@ -51,7 +51,8 @@ struct fixed_voltage_data {
* tree node, returns a pointer to the populated structure of NULL if memory
* alloc fails.
*/
-struct fixed_voltage_config *of_get_fixed_voltage_config(struct device *dev)
+static struct fixed_voltage_config *
+of_get_fixed_voltage_config(struct device *dev)
{
struct fixed_voltage_config *config;
struct device_node *np = dev->of_node;