aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2010-07-23 17:04:01 -0400
committerGrant Likely <grant.likely@secretlab.ca>2010-07-30 02:03:58 -0400
commitc6601225380088018ae93df2ba7f0bb65334d63b (patch)
treeb87880db2c72a3cd8528948d15703743bccc726d /include/linux
parentd2f718398a21cdb925f12c2b332d206eacd967a6 (diff)
of/device: Make of_device_make_bus_id() usable by other code.
The AMBA bus should also use of_device_make_bus_id() when populating device out of device tree data. This patch makes the function non-static, and adds a suitable prototype in of_device.h Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/of_device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/of_device.h b/include/linux/of_device.h
index e11a0be7893a..35aa44ad9f2c 100644
--- a/include/linux/of_device.h
+++ b/include/linux/of_device.h
@@ -27,6 +27,7 @@
27 27
28extern const struct of_device_id *of_match_device( 28extern const struct of_device_id *of_match_device(
29 const struct of_device_id *matches, const struct device *dev); 29 const struct of_device_id *matches, const struct device *dev);
30extern void of_device_make_bus_id(struct device *dev);
30 31
31/** 32/**
32 * of_driver_match_device - Tell if a driver's of_match_table matches a device. 33 * of_driver_match_device - Tell if a driver's of_match_table matches a device.