diff options
Diffstat (limited to 'drivers/regulator/internal.h')
| -rw-r--r-- | drivers/regulator/internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/regulator/internal.h b/drivers/regulator/internal.h index 80ba2a35a04b..c74ac8734023 100644 --- a/drivers/regulator/internal.h +++ b/drivers/regulator/internal.h | |||
| @@ -38,11 +38,13 @@ struct regulator { | |||
| 38 | #ifdef CONFIG_OF | 38 | #ifdef CONFIG_OF |
| 39 | struct regulator_init_data *regulator_of_get_init_data(struct device *dev, | 39 | struct regulator_init_data *regulator_of_get_init_data(struct device *dev, |
| 40 | const struct regulator_desc *desc, | 40 | const struct regulator_desc *desc, |
| 41 | struct regulator_config *config, | ||
| 41 | struct device_node **node); | 42 | struct device_node **node); |
| 42 | #else | 43 | #else |
| 43 | static inline struct regulator_init_data * | 44 | static inline struct regulator_init_data * |
| 44 | regulator_of_get_init_data(struct device *dev, | 45 | regulator_of_get_init_data(struct device *dev, |
| 45 | const struct regulator_desc *desc, | 46 | const struct regulator_desc *desc, |
| 47 | struct regulator_config *config, | ||
| 46 | struct device_node **node) | 48 | struct device_node **node) |
| 47 | { | 49 | { |
| 48 | return NULL; | 50 | return NULL; |
