aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-11-26 21:35:08 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-11-27 06:32:37 -0500
commitbc91396b0b0a0d1300e151264b81f010c72a8bbf (patch)
tree09e92a456ce6076a7a6cb92906d9861e0ac4d0e3 /drivers
parent4b864af1a370103148e34044670cd9913de5c1be (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>
Diffstat (limited to 'drivers')
-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 2997f11af905..703c26b756dc 100644
--- a/drivers/regulator/fixed.c
+++ b/drivers/regulator/fixed.c
@@ -51,7 +51,8 @@ struct fixed_voltage_data {
51 * tree node, returns a pointer to the populated structure of NULL if memory 51 * tree node, returns a pointer to the populated structure of NULL if memory
52 * alloc fails. 52 * alloc fails.
53 */ 53 */
54struct fixed_voltage_config *of_get_fixed_voltage_config(struct device *dev) 54static struct fixed_voltage_config *
55of_get_fixed_voltage_config(struct device *dev)
55{ 56{
56 struct fixed_voltage_config *config; 57 struct fixed_voltage_config *config;
57 struct device_node *np = dev->of_node; 58 struct device_node *np = dev->of_node;