These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / include / linux / of_platform.h
index 611a691..956a100 100644 (file)
@@ -72,6 +72,9 @@ extern int of_platform_populate(struct device_node *root,
                                const struct of_device_id *matches,
                                const struct of_dev_auxdata *lookup,
                                struct device *parent);
+extern int of_platform_default_populate(struct device_node *root,
+                                       const struct of_dev_auxdata *lookup,
+                                       struct device *parent);
 extern void of_platform_depopulate(struct device *parent);
 #else
 static inline int of_platform_populate(struct device_node *root,
@@ -81,6 +84,12 @@ static inline int of_platform_populate(struct device_node *root,
 {
        return -ENODEV;
 }
+static inline int of_platform_default_populate(struct device_node *root,
+                                              const struct of_dev_auxdata *lookup,
+                                              struct device *parent)
+{
+       return -ENODEV;
+}
 static inline void of_platform_depopulate(struct device *parent) { }
 #endif