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)
commit0dd12d54c4252e5a51f3b9f7b622b3b7a5b95293
treef68d5feed74a7beb634ce9c8f2175e7e4b14e98a
parentee26a2284b3d1ab0fb6c183d1cca7a85a05c82e0
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