platform_driver.remove returns an 'int'.

Signed-off-by: Felipe Balbi <[email protected]>
---
 drivers/cbus/cbus.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/drivers/cbus/cbus.c b/drivers/cbus/cbus.c
index c7ed881..45b01fd 100644
--- a/drivers/cbus/cbus.c
+++ b/drivers/cbus/cbus.c
@@ -296,7 +296,7 @@ exit1:
        return ret;
 }
 
-static void __devexit cbus_bus_remove(struct platform_device *pdev)
+static int __devexit cbus_bus_remove(struct platform_device *pdev)
 {
        struct cbus_host        *chost = platform_get_drvdata(pdev);
 
@@ -305,6 +305,8 @@ static void __devexit cbus_bus_remove(struct 
platform_device *pdev)
        gpio_free(chost->clk_gpio);
 
        kfree(chost);
+
+       return 0;
 }
 
 static struct platform_driver cbus_driver = {
-- 
1.7.8.rc3

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to