net: dsa: Fix scope of eeprom-length property
eeprom-length is a switch property, not a dsa property, and thus needs to be attached to the switch node, not to the dsa node. Reported-by: NAndrew Lunn <andrew@lunn.ch> Fixes: 6793abb4 ("net: dsa: Add support for switch EEPROM access") Signed-off-by: NGuenter Roeck <linux@roeck-us.net> Acked-by: NAndrew Lunn <andrew@lunn.ch> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录