Loading drivers/mfd/twl-core.c +1 −0 Original line number Diff line number Diff line Loading @@ -38,6 +38,7 @@ #include <linux/of.h> #include <linux/of_irq.h> #include <linux/of_platform.h> #include <linux/irq.h> #include <linux/irqdomain.h> #include <linux/regulator/machine.h> Loading include/linux/of_platform.h +6 −3 Original line number Diff line number Diff line Loading @@ -94,7 +94,12 @@ extern int of_platform_populate(struct device_node *root, const struct of_device_id *matches, const struct of_dev_auxdata *lookup, struct device *parent); #else #endif /* CONFIG_OF_ADDRESS */ #endif /* CONFIG_OF_DEVICE */ #if !defined(CONFIG_OF_ADDRESS) struct of_dev_auxdata; static inline int of_platform_populate(struct device_node *root, const struct of_device_id *matches, const struct of_dev_auxdata *lookup, Loading @@ -104,6 +109,4 @@ static inline int of_platform_populate(struct device_node *root, } #endif /* !CONFIG_OF_ADDRESS */ #endif /* CONFIG_OF_DEVICE */ #endif /* _LINUX_OF_PLATFORM_H */ Loading
drivers/mfd/twl-core.c +1 −0 Original line number Diff line number Diff line Loading @@ -38,6 +38,7 @@ #include <linux/of.h> #include <linux/of_irq.h> #include <linux/of_platform.h> #include <linux/irq.h> #include <linux/irqdomain.h> #include <linux/regulator/machine.h> Loading
include/linux/of_platform.h +6 −3 Original line number Diff line number Diff line Loading @@ -94,7 +94,12 @@ extern int of_platform_populate(struct device_node *root, const struct of_device_id *matches, const struct of_dev_auxdata *lookup, struct device *parent); #else #endif /* CONFIG_OF_ADDRESS */ #endif /* CONFIG_OF_DEVICE */ #if !defined(CONFIG_OF_ADDRESS) struct of_dev_auxdata; static inline int of_platform_populate(struct device_node *root, const struct of_device_id *matches, const struct of_dev_auxdata *lookup, Loading @@ -104,6 +109,4 @@ static inline int of_platform_populate(struct device_node *root, } #endif /* !CONFIG_OF_ADDRESS */ #endif /* CONFIG_OF_DEVICE */ #endif /* _LINUX_OF_PLATFORM_H */