projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
um: add earlyprintk support
[firefly-linux-kernel-4.4.55.git]
/
arch
/
um
/
drivers
/
mcast_kern.c
diff --git
a/arch/um/drivers/mcast_kern.c
b/arch/um/drivers/mcast_kern.c
index 8c4378a76d6333d88d14537ae1c9a3b42b099537..ffc6416d5ed7f9af80a2490133050098fb8083aa 100644
(file)
--- a/
arch/um/drivers/mcast_kern.c
+++ b/
arch/um/drivers/mcast_kern.c
@@
-28,7
+28,7
@@
static void mcast_init(struct net_device *dev, void *data)
struct mcast_data *dpri;
struct mcast_init *init = data;
- pri =
dev->priv
;
+ pri =
netdev_priv(dev)
;
dpri = (struct mcast_data *) pri->user;
dpri->addr = init->addr;
dpri->port = init->port;