diff options
author | Wang Chen <wangchen@cn.fujitsu.com> | 2008-12-05 00:07:33 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-05 00:07:33 +0100 |
commit | 17c324fa80914e5b39d423dfd1a3cd61a3ec9866 (patch) | |
tree | b8a4d8ed638870ded8efa116cf9d1c8cab62b3bd /arch/um/drivers/pcap_kern.c | |
parent | xtensa: Kill directly reference of netdev->priv (diff) | |
download | linux-17c324fa80914e5b39d423dfd1a3cd61a3ec9866.tar.xz 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/pcap_kern.c')
-rw-r--r-- | arch/um/drivers/pcap_kern.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/drivers/pcap_kern.c b/arch/um/drivers/pcap_kern.c index 3a750dd39be1..2860525f8ff6 100644 --- a/arch/um/drivers/pcap_kern.c +++ b/arch/um/drivers/pcap_kern.c @@ -21,7 +21,7 @@ void pcap_init(struct net_device *dev, void *data) struct pcap_data *ppri; struct pcap_init *init = data; - pri = dev->priv; + pri = netdev_priv(dev); ppri = (struct pcap_data *) pri->user; ppri->host_if = init->host_if; ppri->promisc = init->promisc; |