aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVarka Bhadram <varkab@cdac.in>2014-07-10 01:35:42 -0400
committerDavid S. Miller <davem@davemloft.net>2014-07-10 03:40:37 -0400
commit96a8d3c141f23264281a48917eb2189a1566fda5 (patch)
tree10a48f5fb4f9fe1165bccef9687e25c80ba355a7
parentf160a2d0b524eeebd97a68e2fbb59fad4cdd3fee (diff)
net: cpmac: fix cpmac driver structure
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>
-rw-r--r--drivers/net/ethernet/ti/cpmac.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/net/ethernet/ti/cpmac.c b/drivers/net/ethernet/ti/cpmac.c
index 9faf6699561e..1520c190cfd3 100644
--- a/drivers/net/ethernet/ti/cpmac.c
+++ b/drivers/net/ethernet/ti/cpmac.c
@@ -1187,9 +1187,11 @@ static int cpmac_remove(struct platform_device *pdev)
1187} 1187}
1188 1188
1189static struct platform_driver cpmac_driver = { 1189static struct platform_driver cpmac_driver = {
1190 .driver.name = "cpmac", 1190 .driver = {
1191 .driver.owner = THIS_MODULE, 1191 .name = "cpmac",
1192 .probe = cpmac_probe, 1192 .owner = THIS_MODULE,
1193 },
1194 .probe = cpmac_probe,
1193 .remove = cpmac_remove, 1195 .remove = cpmac_remove,
1194}; 1196};
1195 1197