summaryrefslogtreecommitdiffstats
path: root/arch/um/drivers/vde_kern.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/drivers/vde_kern.c')
-rw-r--r--arch/um/drivers/vde_kern.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/drivers/vde_kern.c b/arch/um/drivers/vde_kern.c
index add7e722defb..1b852bffdebc 100644
--- a/arch/um/drivers/vde_kern.c
+++ b/arch/um/drivers/vde_kern.c
@@ -19,7 +19,7 @@ static void vde_init(struct net_device *dev, void *data)
struct uml_net_private *pri;
struct vde_data *vpri;
- pri = dev->priv;
+ pri = netdev_priv(dev);
vpri = (struct vde_data *) pri->user;
vpri->vde_switch = init->vde_switch;
OpenPOWER on IntegriCloud