diff options
author | Varka Bhadram <varkab@cdac.in> | 2014-07-10 11:05:42 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-07-10 00:40:37 -0700 |
commit | 96a8d3c141f23264281a48917eb2189a1566fda5 (patch) | |
tree | 10a48f5fb4f9fe1165bccef9687e25c80ba355a7 /drivers/net/ethernet/ti | |
parent | f160a2d0b524eeebd97a68e2fbb59fad4cdd3fee (diff) | |
download | op-kernel-dev-96a8d3c141f23264281a48917eb2189a1566fda5.zip op-kernel-dev-96a8d3c141f23264281a48917eb2189a1566fda5.tar.gz |
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>
Diffstat (limited to 'drivers/net/ethernet/ti')
-rw-r--r-- | drivers/net/ethernet/ti/cpmac.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/net/ethernet/ti/cpmac.c b/drivers/net/ethernet/ti/cpmac.c index 9faf669..1520c19 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) } 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, }; |