aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/atheros/alx/alx.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/atheros/alx/alx.h')
-rw-r--r--drivers/net/ethernet/atheros/alx/alx.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/atheros/alx/alx.h b/drivers/net/ethernet/atheros/alx/alx.h
index d71103dbf2cd..8fc93c5f6abc 100644
--- a/drivers/net/ethernet/atheros/alx/alx.h
+++ b/drivers/net/ethernet/atheros/alx/alx.h
@@ -106,6 +106,9 @@ struct alx_priv {
106 u16 msg_enable; 106 u16 msg_enable;
107 107
108 bool msi; 108 bool msi;
109
110 /* protects hw.stats */
111 spinlock_t stats_lock;
109}; 112};
110 113
111extern const struct ethtool_ops alx_ethtool_ops; 114extern const struct ethtool_ops alx_ethtool_ops;