aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/mv88e6xxx/chip.h
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2018-05-19 22:31:35 +0200
committerDavid S. Miller <davem@davemloft.net>2018-05-20 18:58:27 -0400
commit00baabe5286c41d21ed4a78f479b021eba1f0d51 (patch)
tree4d8fee548a2e1e414b8bd9bb59725294e2be170d /drivers/net/dsa/mv88e6xxx/chip.h
parentnet: dsa: mv88e6xxx: Add minimal platform_data support (diff)
downloadlinux-dev-00baabe5286c41d21ed4a78f479b021eba1f0d51.tar.xz
linux-dev-00baabe5286c41d21ed4a78f479b021eba1f0d51.zip
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 'drivers/net/dsa/mv88e6xxx/chip.h')
-rw-r--r--drivers/net/dsa/mv88e6xxx/chip.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dsa/mv88e6xxx/chip.h b/drivers/net/dsa/mv88e6xxx/chip.h
index 012268046442..8ac3fbb15352 100644
--- a/drivers/net/dsa/mv88e6xxx/chip.h
+++ b/drivers/net/dsa/mv88e6xxx/chip.h
@@ -238,7 +238,7 @@ struct mv88e6xxx_chip {
struct gpio_desc *reset;
/* set to size of eeprom if supported by the switch */
- int eeprom_len;
+ u32 eeprom_len;
/* List of mdio busses */
struct list_head mdios;