mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
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>
This commit is contained in:
parent
d2f718398a
commit
c660122538
2 changed files with 2 additions and 1 deletions
|
@ -27,6 +27,7 @@
|
|||
|
||||
extern const struct of_device_id *of_match_device(
|
||||
const struct of_device_id *matches, const struct device *dev);
|
||||
extern void of_device_make_bus_id(struct device *dev);
|
||||
|
||||
/**
|
||||
* of_driver_match_device - Tell if a driver's of_match_table matches a device.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue