While we could use container_of, this makes porting and synchronizing with Linux drivers easier. Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> --- include/dsa.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dsa.h b/include/dsa.h index 001c4899ba41..e823bac0a78c 100644 --- a/include/dsa.h +++ b/include/dsa.h @@ -82,6 +82,7 @@ struct dsa_switch { void *tx_buf; struct mii_bus *slave_mii_bus; u32 phys_mii_mask; + void *priv; }; static inline struct dsa_port *dsa_to_port(struct dsa_switch *ds, int p) -- 2.30.2