Skip to contentSkip to conversation

regulator: Staticise of_get_fixed_voltage_config()

PATCH Applied Axel Lin 2 participants 2 messages Nov 27, 2011 Voltage and current regulator framework

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 regulator: Staticise of_get_fixed_voltage_config()

It is not used outside this driver so no need to make the symbol global.

---
 drivers/regulator/fixed.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
drivers/regulator/fixed.c +2 -1
index 2f917a1..2c220bc 100644
@@ -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;
Signature · 1 line
1.7.5.4