aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/dm9000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dm9000.c b/drivers/net/dm9000.c
index 0d9a217e8583..bcf92917bbf3 100644
--- a/drivers/net/dm9000.c
+++ b/drivers/net/dm9000.c
@@ -1447,7 +1447,7 @@ dm9000_drv_remove(struct platform_device *pdev)
1447 platform_set_drvdata(pdev, NULL); 1447 platform_set_drvdata(pdev, NULL);
1448 1448
1449 unregister_netdev(ndev); 1449 unregister_netdev(ndev);
1450 dm9000_release_board(pdev, (board_info_t *) netdev_priv(ndev); 1450 dm9000_release_board(pdev, (board_info_t *) netdev_priv(ndev));
1451 free_netdev(ndev); /* free device structure */ 1451 free_netdev(ndev); /* free device structure */
1452 1452
1453 dev_dbg(&pdev->dev, "released and freed device\n"); 1453 dev_dbg(&pdev->dev, "released and freed device\n");