diff options
author | Marek Vasut <marek.vasut+renesas@mailbox.org> | 2023-03-19 18:03:07 +0100 |
---|---|---|
committer | Marek Vasut <marek.vasut+renesas@mailbox.org> | 2023-04-07 14:18:50 +0200 |
commit | 330d64f5a0d748707fe40139fa981aebeb2308a3 (patch) | |
tree | 760e5e44697873d81bb2365e6ae870461638d83f /drivers/net/phy/phy.c | |
parent | 6620b9204dd2fe9c15a637792ecd5d3d5e0f0e95 (diff) | |
download | u-boot-330d64f5a0d748707fe40139fa981aebeb2308a3.zip u-boot-330d64f5a0d748707fe40139fa981aebeb2308a3.tar.gz u-boot-330d64f5a0d748707fe40139fa981aebeb2308a3.tar.bz2 |
net: phy: intel-xway: 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 b85d5c4..1542fe8 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_XWAY - phy_xway_init(); -#endif #ifdef CONFIG_PHY_MSCC phy_mscc_init(); #endif |