mirror of https://gitee.com/openkylin/linux.git
dm9000: Fix build error.
Reported by Stephen Rothwell: drivers/net/dm9000.c:1450: error: expected ')' before ';' token drivers/net/dm9000.c:1455: error: expected ';' before '}' token Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
cda2836dc6
commit
6817ba2cd2
|
@ -1447,7 +1447,7 @@ dm9000_drv_remove(struct platform_device *pdev)
|
|||
platform_set_drvdata(pdev, NULL);
|
||||
|
||||
unregister_netdev(ndev);
|
||||
dm9000_release_board(pdev, (board_info_t *) netdev_priv(ndev);
|
||||
dm9000_release_board(pdev, (board_info_t *) netdev_priv(ndev));
|
||||
free_netdev(ndev); /* free device structure */
|
||||
|
||||
dev_dbg(&pdev->dev, "released and freed device\n");
|
||||
|
|
Loading…
Reference in New Issue