summaryrefslogtreecommitdiff
path: root/include/linux/of_platform.h
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2011-06-21 20:59:34 +0400
committerGrant Likely <grant.likely@secretlab.ca>2011-06-21 21:02:29 +0400
commitcbb49c2665eebfd1fa2e491403684d0542662137 (patch)
tree11f0d7496cf070c8fedaa5dede9f79b60219d0c3 /include/linux/of_platform.h
parent56299378726d5f2ba8d3c8cbbd13cb280ba45e4f (diff)
downloadlinux-cbb49c2665eebfd1fa2e491403684d0542662137.tar.xz
dt: Add default match table for bus ids
No need for most platforms to define their own bus table when calling of_platform_populate(). Supply a stock one. Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'include/linux/of_platform.h')
-rw-r--r--include/linux/of_platform.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/of_platform.h b/include/linux/of_platform.h
index fb51ae38cea7..8f023f889a8a 100644
--- a/include/linux/of_platform.h
+++ b/include/linux/of_platform.h
@@ -40,6 +40,8 @@ struct of_platform_driver
#define to_of_platform_driver(drv) \
container_of(drv,struct of_platform_driver, driver)
+extern const struct of_device_id of_default_bus_match_table[];
+
/* Platform drivers register/unregister */
extern struct platform_device *of_device_alloc(struct device_node *np,
const char *bus_id,