summaryrefslogtreecommitdiff
path: root/include/linux/of_platform.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-09-24 15:02:48 +0300
committerTakashi Iwai <tiwai@suse.de>2015-09-24 15:02:48 +0300
commitdb25f440f42eca380fcdb339f51cf73633e32485 (patch)
treed67c8ec502c2ce8b1382538545ee1b8a439dc6e2 /include/linux/of_platform.h
parent145d92e77e6f34f53773fdb06789816ec2b6c7b3 (diff)
parent83510441bc08bee201c0ded9d81da6dfd008d69a (diff)
downloadlinux-db25f440f42eca380fcdb339f51cf73633e32485.tar.xz
Merge branch 'for-linus' into for-next
Diffstat (limited to 'include/linux/of_platform.h')
-rw-r--r--include/linux/of_platform.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/of_platform.h b/include/linux/of_platform.h
index 611a691145c4..956a1006aefc 100644
--- a/include/linux/of_platform.h
+++ b/include/linux/of_platform.h
@@ -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