diff options
Diffstat (limited to 'drivers/net/wan/hdlc_ppp.c')
-rw-r--r-- | drivers/net/wan/hdlc_ppp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wan/hdlc_ppp.c b/drivers/net/wan/hdlc_ppp.c index 3caeb528eace..519e1550e2e7 100644 --- a/drivers/net/wan/hdlc_ppp.c +++ b/drivers/net/wan/hdlc_ppp.c | |||
@@ -42,7 +42,7 @@ static inline struct ppp_state* state(hdlc_device *hdlc) | |||
42 | static int ppp_open(struct net_device *dev) | 42 | static int ppp_open(struct net_device *dev) |
43 | { | 43 | { |
44 | hdlc_device *hdlc = dev_to_hdlc(dev); | 44 | hdlc_device *hdlc = dev_to_hdlc(dev); |
45 | void *old_ioctl; | 45 | int (*old_ioctl)(struct net_device *, struct ifreq *, int); |
46 | int result; | 46 | int result; |
47 | 47 | ||
48 | dev->priv = &state(hdlc)->syncppp_ptr; | 48 | dev->priv = &state(hdlc)->syncppp_ptr; |