net: bgmac: drop struct bcma_mdio we don't need anymore
authorRafał Miłecki <rafal@milecki.pl>
Tue, 31 Jan 2017 18:37:55 +0000 (19:37 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 Jan 2017 18:44:49 +0000 (13:44 -0500)
commitaa8863e5d49417094b9457a0d53e8505e95a1863
treefb3c7647afb5ea4e07fe7307b535444c2188f861
parent34a5102c3235c470a6c77fba16cb971964d9c136
net: bgmac: drop struct bcma_mdio we don't need anymore

Adding struct bcma_mdio was a workaround for bcma code not having access
to the struct bgmac used in the core code. Now we don't duplicate this
struct we can just use it internally in bcma code.

This simplifies code & allows access to all bgmac driver details from
all places in bcma code.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bgmac-bcma-mdio.c
drivers/net/ethernet/broadcom/bgmac-bcma.c
drivers/net/ethernet/broadcom/bgmac.h