summaryrefslogtreecommitdiff
path: root/arch/um/drivers/slirp_kern.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/drivers/slirp_kern.c')
-rw-r--r--arch/um/drivers/slirp_kern.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/drivers/slirp_kern.c b/arch/um/drivers/slirp_kern.c
index d987af277db9..f15a6e7654f3 100644
--- a/arch/um/drivers/slirp_kern.c
+++ b/arch/um/drivers/slirp_kern.c
@@ -22,7 +22,7 @@ void slirp_init(struct net_device *dev, void *data)
struct slirp_init *init = data;
int i;
- private = dev->priv;
+ private = netdev_priv(dev);
spri = (struct slirp_data *) private->user;
spri->argw = init->argw;