summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2018-05-19 23:31:35 +0300
committerDavid S. Miller <davem@davemloft.net>2018-05-21 01:58:27 +0300
commit00baabe5286c41d21ed4a78f479b021eba1f0d51 (patch)
tree4d8fee548a2e1e414b8bd9bb59725294e2be170d /include
parent877b7cb0b6f283593a663134ee52703f12c895cc (diff)
downloadlinux-00baabe5286c41d21ed4a78f479b021eba1f0d51.tar.xz
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/platform_data/mv88e6xxx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/platform_data/mv88e6xxx.h b/include/linux/platform_data/mv88e6xxx.h
index 88e91e05f48f..f63af2955ea0 100644
--- a/include/linux/platform_data/mv88e6xxx.h
+++ b/include/linux/platform_data/mv88e6xxx.h
@@ -12,6 +12,7 @@ struct dsa_mv88e6xxx_pdata {
const char *compatible;
unsigned int enabled_ports;
struct net_device *netdev;
+ u32 eeprom_len;
};
#endif