diff options
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) | |||
19 | struct slip_data *spri; | 19 | struct slip_data *spri; |
20 | struct slip_init *init = data; | 20 | struct slip_init *init = data; |
21 | 21 | ||
22 | private = dev->priv; | 22 | private = netdev_priv(dev); |
23 | spri = (struct slip_data *) private->user; | 23 | spri = (struct slip_data *) private->user; |
24 | 24 | ||
25 | memset(spri->name, 0, sizeof(spri->name)); | 25 | memset(spri->name, 0, sizeof(spri->name)); |