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>
This commit is contained in:
parent
f160a2d0b5
commit
96a8d3c141
@ -1187,9 +1187,11 @@ static int cpmac_remove(struct platform_device *pdev)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static struct platform_driver cpmac_driver = {
|
static struct platform_driver cpmac_driver = {
|
||||||
.driver.name = "cpmac",
|
.driver = {
|
||||||
.driver.owner = THIS_MODULE,
|
.name = "cpmac",
|
||||||
.probe = cpmac_probe,
|
.owner = THIS_MODULE,
|
||||||
|
},
|
||||||
|
.probe = cpmac_probe,
|
||||||
.remove = cpmac_remove,
|
.remove = cpmac_remove,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user