projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Staging: et131x: config is already zeroed
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
drivers
/
net
/
macsonic.c
diff --git
a/drivers/net/macsonic.c
b/drivers/net/macsonic.c
index 8f492c7b8093aa4478e0549f7122419c9d2da8c6..61eabcac734cdbce1de299924867858740a92ac3 100644
(file)
--- a/
drivers/net/macsonic.c
+++ b/
drivers/net/macsonic.c
@@
-575,6
+575,7
@@
static int __devinit mac_sonic_probe(struct platform_device *pdev)
lp = netdev_priv(dev);
lp->device = &pdev->dev;
SET_NETDEV_DEV(dev, &pdev->dev);
+ platform_set_drvdata(pdev, dev);
/* This will catch fatal stuff like -ENOMEM as well as success */
err = mac_onboard_sonic_probe(dev);