net: dsa: Fix scope of eeprom-length property
authorGuenter Roeck <linux@roeck-us.net>
Wed, 29 Apr 2015 17:56:15 +0000 (10:56 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Apr 2015 19:35:04 +0000 (15:35 -0400)
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: Andrew Lunn <andrew@lunn.ch>
Fixes: 6793abb4e849 ("net: dsa: Add support for switch EEPROM access")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found