We have a reference to struct spi_device, but users of sja1105.h cannot dereference it if they need to. One such example will come in the next change, where sja1105_mdio.c does not include , so it cannot dereference priv->spidev->dev. Signed-off-by: Vladimir Oltean --- v1->v2: none drivers/net/dsa/sja1105/sja1105.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/dsa/sja1105/sja1105.h b/drivers/net/dsa/sja1105/sja1105.h index 8d4c0c8df326..30903fb62302 100644 --- a/drivers/net/dsa/sja1105/sja1105.h +++ b/drivers/net/dsa/sja1105/sja1105.h @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include -- 2.34.1