]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: Add mdio private structure
authorAndrew Lunn <andrew@lunn.ch>
Tue, 24 Jan 2017 13:53:49 +0000 (14:53 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Jan 2017 20:33:51 +0000 (15:33 -0500)
commit351156b15683700756613c226057501ea611e588
treef68d5feed74a7beb634ce9c8f2175e7e4b14e98a
parent7dda1be326528cb0caef41078544362a9e18d4b3
net: dsa: mv88e6xxx: Add mdio private structure

Have the MDIO bus driver code allocate a private structure and make
the chip a member of it. This will allow us to add further members in
the future.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c
drivers/net/dsa/mv88e6xxx/mv88e6xxx.h