include/linux/poison.h: remove not-used poison pointer macros
[firefly-linux-kernel-4.4.55.git] / include / linux / of_platform.h
index 611a691145c48d7c38c370daa63b047b5c68c17a..956a1006aefc24053c643d4ad6bf653dbd2d012a 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