From e8884fac827000e4189202b8c10991eceff725c6 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Fri, 27 Feb 2009 01:10:36 +0100 Subject: fix compiler warning Signed-off-by: Sascha Hauer --- lib/bus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/bus.c') 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 = { -- cgit v1.2.3