Skip to content

Commit

Permalink
Blackfin EMAC Driver: add proper __devinit/__devexit markings
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
  • Loading branch information
Mike Frysinger authored and Jeff Garzik committed Jul 29, 2008
1 parent 22ae03a commit d7b843d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/net/bfin_mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,7 @@ static int bfin_mac_close(struct net_device *dev)
return 0;
}

static int __init bfin_mac_probe(struct platform_device *pdev)
static int __devinit bfin_mac_probe(struct platform_device *pdev)
{
struct net_device *ndev;
struct bfin_mac_local *lp;
Expand Down Expand Up @@ -1081,7 +1081,7 @@ static int __init bfin_mac_probe(struct platform_device *pdev)
return rc;
}

static int bfin_mac_remove(struct platform_device *pdev)
static int __devexit bfin_mac_remove(struct platform_device *pdev)
{
struct net_device *ndev = platform_get_drvdata(pdev);
struct bfin_mac_local *lp = netdev_priv(ndev);
Expand Down Expand Up @@ -1128,7 +1128,7 @@ static int bfin_mac_resume(struct platform_device *pdev)

static struct platform_driver bfin_mac_driver = {
.probe = bfin_mac_probe,
.remove = bfin_mac_remove,
.remove = __devexit_p(bfin_mac_remove),
.resume = bfin_mac_resume,
.suspend = bfin_mac_suspend,
.driver = {
Expand Down

0 comments on commit d7b843d

Please sign in to comment.