diff options
Diffstat (limited to 'drivers/regulator/fixed.c')
-rw-r--r-- | drivers/regulator/fixed.c | 3 |
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 | */ |
54 | struct fixed_voltage_config *of_get_fixed_voltage_config(struct device *dev) | 54 | static struct fixed_voltage_config * |
55 | of_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; |