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)
commit50d4964f1d0411d82cca593f2664bfab7f82dbbf
tree186530c55c50f3eb9e5c3c6d53be1fc52d594acf
parentd4c216c54197d741ed8b7ca54f13645dfb3eacde
net: dsa: Fix scope of eeprom-length property

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>
net/dsa/dsa.c