]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: Add support for EEPROM via platform data
authorAndrew Lunn <andrew@lunn.ch>
Sat, 19 May 2018 20:31:35 +0000 (22:31 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 20 May 2018 22:58:27 +0000 (18:58 -0400)
commit3679284ccb84186a8393ecac62f9c773d30684c9
tree4d8fee548a2e1e414b8bd9bb59725294e2be170d
parent69ec88d90524ff02c5b69cf387a1acdd07a9f188
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>
drivers/net/dsa/mv88e6xxx/chip.c
drivers/net/dsa/mv88e6xxx/chip.h
include/linux/platform_data/mv88e6xxx.h