diff options
author | Wang Chen <wangchen@cn.fujitsu.com> | 2008-12-04 15:07:33 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-04 15:07:33 -0800 |
commit | 17c324fa80914e5b39d423dfd1a3cd61a3ec9866 (patch) | |
tree | b8a4d8ed638870ded8efa116cf9d1c8cab62b3bd /arch/um/drivers/slip_kern.c | |
parent | 6cbeba55c5cbd042040d6114471637e8b10d4a6b (diff) | |
download | linux-17c324fa80914e5b39d423dfd1a3cd61a3ec9866.tar.gz linux-17c324fa80914e5b39d423dfd1a3cd61a3ec9866.tar.bz2 linux-17c324fa80914e5b39d423dfd1a3cd61a3ec9866.zip |
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/slip_kern.c')
-rw-r--r-- | arch/um/drivers/slip_kern.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/drivers/slip_kern.c b/arch/um/drivers/slip_kern.c index d19faec7046e..5ec17563142e 100644 --- a/arch/um/drivers/slip_kern.c +++ b/arch/um/drivers/slip_kern.c @@ -19,7 +19,7 @@ static void slip_init(struct net_device *dev, void *data) struct slip_data *spri; struct slip_init *init = data; - private = dev->priv; + private = netdev_priv(dev); spri = (struct slip_data *) private->user; memset(spri->name, 0, sizeof(spri->name)); |