aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/dsa.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/dsa.h')
-rw-r--r--include/net/dsa.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/dsa.h b/include/net/dsa.h
index fdbd6082945d..461e8a7661b7 100644
--- a/include/net/dsa.h
+++ b/include/net/dsa.h
@@ -259,6 +259,9 @@ struct dsa_switch {
259 /* Number of switch port queues */ 259 /* Number of switch port queues */
260 unsigned int num_tx_queues; 260 unsigned int num_tx_queues;
261 261
262 unsigned long *bitmap;
263 unsigned long _bitmap;
264
262 /* Dynamically allocated ports, keep last */ 265 /* Dynamically allocated ports, keep last */
263 size_t num_ports; 266 size_t num_ports;
264 struct dsa_port ports[]; 267 struct dsa_port ports[];