Skip to content

Commit

Permalink
net: cpmac: fix cpmac driver structure
Browse files Browse the repository at this point in the history
This patch changes to style of declarattion which follows every driver

Signed-off-by: Varka Bhadram <varkab@cdac.in>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Varka Bhadram authored and David S. Miller committed Jul 10, 2014
1 parent f160a2d commit 96a8d3c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions drivers/net/ethernet/ti/cpmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -1187,9 +1187,11 @@ static int cpmac_remove(struct platform_device *pdev)
}

static struct platform_driver cpmac_driver = {
.driver.name = "cpmac",
.driver.owner = THIS_MODULE,
.probe = cpmac_probe,
.driver = {
.name = "cpmac",
.owner = THIS_MODULE,
},
.probe = cpmac_probe,
.remove = cpmac_remove,
};

Expand Down

0 comments on commit 96a8d3c

Please sign in to comment.