Loading drivers/regulator/internal.h +10 −0 Original line number Diff line number Diff line Loading @@ -35,8 +35,18 @@ struct regulator { struct dentry *debugfs; }; #ifdef CONFIG_OF struct regulator_init_data *regulator_of_get_init_data(struct device *dev, const struct regulator_desc *desc, struct device_node **node); #else static inline struct regulator_init_data * regulator_of_get_init_data(struct device *dev, const struct regulator_desc *desc, struct device_node **node) { return NULL; } #endif #endif Loading
drivers/regulator/internal.h +10 −0 Original line number Diff line number Diff line Loading @@ -35,8 +35,18 @@ struct regulator { struct dentry *debugfs; }; #ifdef CONFIG_OF struct regulator_init_data *regulator_of_get_init_data(struct device *dev, const struct regulator_desc *desc, struct device_node **node); #else static inline struct regulator_init_data * regulator_of_get_init_data(struct device *dev, const struct regulator_desc *desc, struct device_node **node) { return NULL; } #endif #endif