summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/3com/3c509.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/3com/3c509.c')
-rw-r--r--drivers/net/ethernet/3com/3c509.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/3com/3c509.c b/drivers/net/ethernet/3com/3c509.c
index 667f38c9e4c6..53e1f7e07959 100644
--- a/drivers/net/ethernet/3com/3c509.c
+++ b/drivers/net/ethernet/3com/3c509.c
@@ -335,12 +335,11 @@ static int el3_isa_match(struct device *pdev, unsigned int ndev)
return 1;
}
-static int el3_isa_remove(struct device *pdev,
+static void el3_isa_remove(struct device *pdev,
unsigned int ndev)
{
el3_device_remove(pdev);
dev_set_drvdata(pdev, NULL);
- return 0;
}
#ifdef CONFIG_PM