diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2009-02-27 01:10:36 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-04-07 10:42:33 +0200 |
commit | e8884fac827000e4189202b8c10991eceff725c6 (patch) | |
tree | d9a0d93346cbcc11555a2a016e554028da50426c /lib | |
parent | 4511a8873b3758970b6a3f2e55c27ad59223a3e5 (diff) | |
download | barebox-e8884fac827000e4189202b8c10991eceff725c6.tar.gz barebox-e8884fac827000e4189202b8c10991eceff725c6.tar.xz |
fix compiler warning
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bus.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -32,9 +32,9 @@ static int platform_probe(struct device_d *dev) return dev->driver->probe(dev); } -static int platform_remove(struct device_d *dev) +static void platform_remove(struct device_d *dev) { - return dev->driver->remove(dev); + dev->driver->remove(dev); } struct bus_type platform_bus = { |