]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
regulator: Staticise of_get_fixed_voltage_config()
authorAxel Lin <axel.lin@gmail.com>
Sun, 27 Nov 2011 02:35:08 +0000 (10:35 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 27 Nov 2011 11:32:37 +0000 (11:32 +0000)
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>
drivers/regulator/fixed.c

index 2997f11af90553840520c9d4228b8541eec36fb3..703c26b756dcf0e41627860d17a26e898fa8c23a 100644 (file)
@@ -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;