diff --git a/include/linux/of_platform.h b/include/linux/of_platform.h index b47d2040c9f23a0dfa3599de4d4212a41122422e..3863a4dbdf1888c51ff9d4ae94057a31e5118034 100644 --- a/include/linux/of_platform.h +++ b/include/linux/of_platform.h @@ -100,6 +100,7 @@ extern int of_platform_populate(struct device_node *root, #if !defined(CONFIG_OF_ADDRESS) struct of_dev_auxdata; +struct device; static inline int of_platform_populate(struct device_node *root, const struct of_device_id *matches, const struct of_dev_auxdata *lookup,