summaryrefslogtreecommitdiff
path: root/arch/um/drivers/vde_kern.c
diff options
context:
space:
mode:
authorWang Chen <wangchen@cn.fujitsu.com>2008-12-05 02:07:33 +0300
committerDavid S. Miller <davem@davemloft.net>2008-12-05 02:07:33 +0300
commit17c324fa80914e5b39d423dfd1a3cd61a3ec9866 (patch)
treeb8a4d8ed638870ded8efa116cf9d1c8cab62b3bd /arch/um/drivers/vde_kern.c
parent6cbeba55c5cbd042040d6114471637e8b10d4a6b (diff)
downloadlinux-17c324fa80914e5b39d423dfd1a3cd61a3ec9866.tar.xz
um: Kill directly reference of netdev->priv
Simply replace netdev->priv with netdev_priv(). Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
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;