diff options
author | Grant Likely <grant.likely@linaro.org> | 2014-08-11 17:06:23 +0400 |
---|---|---|
committer | Grant Likely <grant.likely@linaro.org> | 2014-08-11 17:06:23 +0400 |
commit | 663d3f7c2e5e1b018a4c53277ccfde40329d98ca (patch) | |
tree | a3afcc2d8fe682bdcc4c2e39b47ab3987b38c69a /include/linux/of_platform.h | |
parent | b775e642bf958a02210ac4d4edd1a1b7067c49fa (diff) | |
parent | b6ae5dc54b0a5c542d06d46b9083ceb70bf7e083 (diff) | |
download | linux-663d3f7c2e5e1b018a4c53277ccfde40329d98ca.tar.xz |
Merge branch 'devicetree/next-overlay' into devicetree/next
Conflicts:
drivers/of/testcase-data/testcases.dts
Diffstat (limited to 'include/linux/of_platform.h')
-rw-r--r-- | include/linux/of_platform.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/linux/of_platform.h b/include/linux/of_platform.h index d96e1badbee0..c2b0627a2317 100644 --- a/include/linux/of_platform.h +++ b/include/linux/of_platform.h @@ -72,7 +72,7 @@ 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_depopulate(struct device *parent); +extern void of_platform_depopulate(struct device *parent); #else static inline int of_platform_populate(struct device_node *root, const struct of_device_id *matches, @@ -81,10 +81,7 @@ static inline int of_platform_populate(struct device_node *root, { return -ENODEV; } -static inline int of_platform_depopulate(struct device *parent) -{ - return -ENODEV; -} +static inline void of_platform_depopulate(struct device *parent) { } #endif #endif /* _LINUX_OF_PLATFORM_H */ |