diff options
author | Marek Vasut | 2023-03-19 18:03:05 +0100 |
---|---|---|
committer | Marek Vasut | 2023-04-07 14:18:50 +0200 |
commit | fb5cf1bb42b8b61d3ce1e9d9e34c33456ed945b3 (patch) | |
tree | 3952ac013de72341baf641ff7d075c2bf027d127 /drivers/net/phy/phy.c | |
parent | 5b777fe527ac67790e41ee9e355241118761aa4b (diff) |
net: phy: vitesse: Convert to U_BOOT_PHY_DRIVER()
Convert PHY driver to U_BOOT_PHY_DRIVER() macro and drop phy_register() init call.
Converted using sed
"s@^static struct phy_driver \(.*\)_driver = \+{@U_BOOT_PHY_DRIVER(\L\1) = {"
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Acked-by: Michal Simek <michal.simek@amd.com>
Tested-by: Michal Simek <michal.simek@amd.com> #microblaze (MANUAL_RELOC)
Diffstat (limited to 'drivers/net/phy/phy.c')
-rw-r--r-- | drivers/net/phy/phy.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c index 404d61c5ab3..fff1d669fcd 100644 --- a/drivers/net/phy/phy.c +++ b/drivers/net/phy/phy.c @@ -514,9 +514,6 @@ int phy_init(void) phy_drv_reloc(drv); #endif -#ifdef CONFIG_PHY_VITESSE - phy_vitesse_init(); -#endif #ifdef CONFIG_PHY_XILINX phy_xilinx_init(); #endif |