Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 96a8d3c1 authored by Varka Bhadram's avatar Varka Bhadram Committed by David S. Miller
Browse files

net: cpmac: fix cpmac driver structure



This patch changes to style of declarattion which follows every driver

Signed-off-by: default avatarVarka Bhadram <varkab@cdac.in>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f160a2d0
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -1187,8 +1187,10 @@ static int cpmac_remove(struct platform_device *pdev)
}

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