diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/bfin_mac.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/bfin_mac.c b/drivers/net/bfin_mac.c index a8ec60e1ed75..de777c28ec68 100644 --- a/drivers/net/bfin_mac.c +++ b/drivers/net/bfin_mac.c | |||
@@ -955,7 +955,7 @@ static int bfin_mac_close(struct net_device *dev) | |||
955 | return 0; | 955 | return 0; |
956 | } | 956 | } |
957 | 957 | ||
958 | static int __init bfin_mac_probe(struct platform_device *pdev) | 958 | static int __devinit bfin_mac_probe(struct platform_device *pdev) |
959 | { | 959 | { |
960 | struct net_device *ndev; | 960 | struct net_device *ndev; |
961 | struct bfin_mac_local *lp; | 961 | struct bfin_mac_local *lp; |
@@ -1081,7 +1081,7 @@ out_err_probe_mac: | |||
1081 | return rc; | 1081 | return rc; |
1082 | } | 1082 | } |
1083 | 1083 | ||
1084 | static int bfin_mac_remove(struct platform_device *pdev) | 1084 | static int __devexit bfin_mac_remove(struct platform_device *pdev) |
1085 | { | 1085 | { |
1086 | struct net_device *ndev = platform_get_drvdata(pdev); | 1086 | struct net_device *ndev = platform_get_drvdata(pdev); |
1087 | struct bfin_mac_local *lp = netdev_priv(ndev); | 1087 | struct bfin_mac_local *lp = netdev_priv(ndev); |
@@ -1128,7 +1128,7 @@ static int bfin_mac_resume(struct platform_device *pdev) | |||
1128 | 1128 | ||
1129 | static struct platform_driver bfin_mac_driver = { | 1129 | static struct platform_driver bfin_mac_driver = { |
1130 | .probe = bfin_mac_probe, | 1130 | .probe = bfin_mac_probe, |
1131 | .remove = bfin_mac_remove, | 1131 | .remove = __devexit_p(bfin_mac_remove), |
1132 | .resume = bfin_mac_resume, | 1132 | .resume = bfin_mac_resume, |
1133 | .suspend = bfin_mac_suspend, | 1133 | .suspend = bfin_mac_suspend, |
1134 | .driver = { | 1134 | .driver = { |