diff options
Diffstat (limited to 'arch/um/os-Linux/drivers/ethertap_kern.c')
-rw-r--r-- | arch/um/os-Linux/drivers/ethertap_kern.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/os-Linux/drivers/ethertap_kern.c b/arch/um/os-Linux/drivers/ethertap_kern.c index 046a131f6104..7f6f9a71aae4 100644 --- a/arch/um/os-Linux/drivers/ethertap_kern.c +++ b/arch/um/os-Linux/drivers/ethertap_kern.c | |||
@@ -22,7 +22,7 @@ static void etap_init(struct net_device *dev, void *data) | |||
22 | struct ethertap_data *epri; | 22 | struct ethertap_data *epri; |
23 | struct ethertap_init *init = data; | 23 | struct ethertap_init *init = data; |
24 | 24 | ||
25 | pri = dev->priv; | 25 | pri = netdev_priv(dev); |
26 | epri = (struct ethertap_data *) pri->user; | 26 | epri = (struct ethertap_data *) pri->user; |
27 | epri->dev_name = init->dev_name; | 27 | epri->dev_name = init->dev_name; |
28 | epri->gate_addr = init->gate_addr; | 28 | epri->gate_addr = init->gate_addr; |