net: dsa: mv88e6xxx: Add support for EEPROM via platform data
Add the size of the EEPROM to the platform data, so it can also be instantiated by a platform device. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
877b7cb0b6
commit
00baabe528
@@ -12,6 +12,7 @@ struct dsa_mv88e6xxx_pdata {
|
||||
const char *compatible;
|
||||
unsigned int enabled_ports;
|
||||
struct net_device *netdev;
|
||||
u32 eeprom_len;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user