projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
[cascardo/linux.git]
/
drivers
/
net
/
wan
/
hdlc.c
diff --git
a/drivers/net/wan/hdlc.c
b/drivers/net/wan/hdlc.c
index
a0a932c
..
9c33ca9
100644
(file)
--- a/
drivers/net/wan/hdlc.c
+++ b/
drivers/net/wan/hdlc.c
@@
-99,7
+99,7
@@
static inline void hdlc_proto_stop(struct net_device *dev)
static int hdlc_device_event(struct notifier_block *this, unsigned long event,
void *ptr)
{
- struct net_device *dev =
ptr
;
+ struct net_device *dev =
netdev_notifier_info_to_dev(ptr)
;
hdlc_device *hdlc;
unsigned long flags;
int on;