net: dsa: Fix scope of eeprom-length property
authorGuenter Roeck <[email protected]>
Wed, 29 Apr 2015 17:56:15 +0000 (10:56 -0700)
committerDavid S. Miller <[email protected]>
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 <[email protected]>
Fixes: 6793abb4e849 ("net: dsa: Add support for switch EEPROM access")
Signed-off-by: Guenter Roeck <[email protected]>
Acked-by: Andrew Lunn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/dsa/dsa.c