aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r--include/linux/netdevice.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index c8fa4627de00..97873e31661c 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -896,7 +896,7 @@ struct net_device {
896 /* device index hash chain */ 896 /* device index hash chain */
897 struct hlist_node index_hlist; 897 struct hlist_node index_hlist;
898 898
899 struct net_device *link_watch_next; 899 struct list_head link_watch_list;
900 900
901 /* register/unregister state machine */ 901 /* register/unregister state machine */
902 enum { NETREG_UNINITIALIZED=0, 902 enum { NETREG_UNINITIALIZED=0,
@@ -1600,6 +1600,7 @@ static inline void dev_hold(struct net_device *dev)
1600 */ 1600 */
1601 1601
1602extern void linkwatch_fire_event(struct net_device *dev); 1602extern void linkwatch_fire_event(struct net_device *dev);
1603extern void linkwatch_forget_dev(struct net_device *dev);
1603 1604
1604/** 1605/**
1605 * netif_carrier_ok - test if carrier present 1606 * netif_carrier_ok - test if carrier present