]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit193700bb0cbee3bd60781ddd8ea3dac888300cde
tree186530c55c50f3eb9e5c3c6d53be1fc52d594acf
parent9219c04d4ff94d9db7da6a92c4824b3949b439ee
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: 94fc4beb9d10 ("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