From: Varka Bhadram Date: Thu, 10 Jul 2014 05:35:42 +0000 (+0530) Subject: net: cpmac: fix cpmac driver structure X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=96a8d3c141f23264281a48917eb2189a1566fda5;p=linux-beck.git net: cpmac: fix cpmac driver structure This patch changes to style of declarattion which follows every driver Signed-off-by: Varka Bhadram Signed-off-by: David S. Miller --- 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) } 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, };