of/device: Make of_device_make_bus_id() usable by other code.
authorGrant Likely <grant.likely@secretlab.ca>
Fri, 23 Jul 2010 21:04:01 +0000 (15:04 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Fri, 30 Jul 2010 06:03:58 +0000 (00:03 -0600)
commitc6601225380088018ae93df2ba7f0bb65334d63b
treeb87880db2c72a3cd8528948d15703743bccc726d
parentd2f718398a21cdb925f12c2b332d206eacd967a6
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>
drivers/of/platform.c
include/linux/of_device.h