diff options
Diffstat (limited to 'net/8021q/vlan.h')
-rw-r--r-- | net/8021q/vlan.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/8021q/vlan.h b/net/8021q/vlan.h index 28d8dc20cb6d..a4886d94c40c 100644 --- a/net/8021q/vlan.h +++ b/net/8021q/vlan.h | |||
@@ -41,6 +41,8 @@ struct vlan_pcpu_stats { | |||
41 | u32 tx_dropped; | 41 | u32 tx_dropped; |
42 | }; | 42 | }; |
43 | 43 | ||
44 | struct netpoll; | ||
45 | |||
44 | /** | 46 | /** |
45 | * struct vlan_dev_priv - VLAN private device data | 47 | * struct vlan_dev_priv - VLAN private device data |
46 | * @nr_ingress_mappings: number of ingress priority mappings | 48 | * @nr_ingress_mappings: number of ingress priority mappings |
@@ -68,6 +70,9 @@ struct vlan_dev_priv { | |||
68 | 70 | ||
69 | struct proc_dir_entry *dent; | 71 | struct proc_dir_entry *dent; |
70 | struct vlan_pcpu_stats __percpu *vlan_pcpu_stats; | 72 | struct vlan_pcpu_stats __percpu *vlan_pcpu_stats; |
73 | #ifdef CONFIG_NET_POLL_CONTROLLER | ||
74 | struct netpoll *netpoll; | ||
75 | #endif | ||
71 | }; | 76 | }; |
72 | 77 | ||
73 | static inline struct vlan_dev_priv *vlan_dev_priv(const struct net_device *dev) | 78 | static inline struct vlan_dev_priv *vlan_dev_priv(const struct net_device *dev) |