]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfb650645c98785d2a8700c8d25caeee34a5d2aa1
treefb3c7647afb5ea4e07fe7307b535444c2188f861
parent2cc7abab1a0f188245f89ca7e1cbe7f0c8ca6103
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