summaryrefslogtreecommitdiff
path: root/drivers/bus/sun50i-de2.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/bus/sun50i-de2.c')
-rw-r--r--drivers/bus/sun50i-de2.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/bus/sun50i-de2.c b/drivers/bus/sun50i-de2.c
index 414f29cdedf0..dfe588179aca 100644
--- a/drivers/bus/sun50i-de2.c
+++ b/drivers/bus/sun50i-de2.c
@@ -24,10 +24,9 @@ static int sun50i_de2_bus_probe(struct platform_device *pdev)
return 0;
}
-static int sun50i_de2_bus_remove(struct platform_device *pdev)
+static void sun50i_de2_bus_remove(struct platform_device *pdev)
{
sunxi_sram_release(&pdev->dev);
- return 0;
}
static const struct of_device_id sun50i_de2_bus_of_match[] = {