summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2009-02-27 01:10:36 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2009-04-07 10:42:33 +0200
commite8884fac827000e4189202b8c10991eceff725c6 (patch)
treed9a0d93346cbcc11555a2a016e554028da50426c /lib
parent4511a8873b3758970b6a3f2e55c27ad59223a3e5 (diff)
downloadbarebox-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bus.c b/lib/bus.c
index 39170fe380..ac90b49a82 100644
--- a/lib/bus.c
+++ b/lib/bus.c
@@ -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 = {