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

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
......@@ -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,
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment