diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2013-07-12 00:23:28 +0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-07-15 10:08:10 +0200 |
commit | 7bc400d14ccfeae112de106ffe6c3ba57e41b11e (patch) | |
tree | 48fa8ab81cdcb38325143d0ddcf281c64553eb64 /include/driver.h | |
parent | 10920b6fe283b1d4c57b09597ad888bfdfdd663e (diff) | |
download | barebox-7bc400d14ccfeae112de106ffe6c3ba57e41b11e.tar.gz barebox-7bc400d14ccfeae112de106ffe6c3ba57e41b11e.tar.xz |
base: Transform "platform_match" into "device_match" and make this function public
This change will allow reuse this function for other buses.
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/driver.h')
-rw-r--r-- | include/driver.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/driver.h b/include/driver.h index b18318fe0c..d15c9dd7d4 100644 --- a/include/driver.h +++ b/include/driver.h @@ -384,6 +384,7 @@ struct bus_type { }; int bus_register(struct bus_type *bus); +int device_match(struct device_d *dev, struct driver_d *drv); extern struct list_head bus_list; |