diff options
| author | Marek Vasut <[email protected]> | 2025-03-02 02:24:46 +0100 |
|---|---|---|
| committer | Marek Vasut <[email protected]> | 2025-03-11 23:05:57 +0100 |
| commit | 596d67e5163834893e9b59d7a5cb9e9a1cd8bc24 (patch) | |
| tree | f74567490da2e6d316a5cb7e2b886f6e3f9a0872 /board | |
| parent | 7cded10da35730ff27062d19b8ad72242be8038f (diff) | |
net: miiphybb: Drop priv from struct bb_miiphy_bus
Remove the priv member from struct bb_miiphy_bus and its assignment
from drivers. This turns struct bb_miiphy_bus int struct mii_dev
wrapper, to be cleaned up next.
Signed-off-by: Marek Vasut <[email protected]>
Reviewed-by: Paul Barker <[email protected]>
Diffstat (limited to 'board')
| -rw-r--r-- | board/gdsys/a38x/ihs_phys.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/board/gdsys/a38x/ihs_phys.c b/board/gdsys/a38x/ihs_phys.c index 86a4049238b..7aa427e0312 100644 --- a/board/gdsys/a38x/ihs_phys.c +++ b/board/gdsys/a38x/ihs_phys.c @@ -257,9 +257,6 @@ int register_miiphy_bus(uint k, struct mii_dev **bus) mdiodev->write = mii_bb_miiphy_write; mdiodev->priv = &gpio_mii_set[k]; - /* Copy the bus accessors and private data */ - bb_miiphy->priv = &gpio_mii_set[k]; - retval = mdio_register(mdiodev); if (retval < 0) return retval; |
