projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f160a2d
)
net: cpmac: fix cpmac driver structure
author
Varka Bhadram
<varkab@cdac.in>
Thu, 10 Jul 2014 05:35:42 +0000
(11:05 +0530)
committer
David S. Miller
<davem@davemloft.net>
Thu, 10 Jul 2014 07:40:37 +0000
(
00:40
-0700)
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>
drivers/net/ethernet/ti/cpmac.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/ethernet/ti/cpmac.c
b/drivers/net/ethernet/ti/cpmac.c
index 9faf6699561e16355daa8fb73f4ed0e5b16facae..1520c190cfd30c7a17d8c867865a2e4f80ba41c1 100644
(file)
--- 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,
};