提交 96a8d3c1 编写于 作者: V Varka Bhadram 提交者: David S. Miller

net: cpmac: fix cpmac driver structure

This patch changes to style of declarattion which follows every driver
Signed-off-by: NVarka Bhadram <varkab@cdac.in>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册