diff options
author | Marek Vasut <marek.vasut+renesas@mailbox.org> | 2023-03-19 18:02:51 +0100 |
---|---|---|
committer | Marek Vasut <marek.vasut+renesas@mailbox.org> | 2023-04-07 14:18:49 +0200 |
commit | abdbfad25c3712b5d0e8ccc514f85eed8aba7b20 (patch) | |
tree | ba52cf20cd91ae7d2b42b9a385a2031dc42ce850 /include/phy.h | |
parent | 7e9ce5adf6ff14cc051fd9fe11107cd6ce0ba0ef (diff) | |
download | u-boot-abdbfad25c3712b5d0e8ccc514f85eed8aba7b20.tar.gz u-boot-abdbfad25c3712b5d0e8ccc514f85eed8aba7b20.tar.bz2 u-boot-abdbfad25c3712b5d0e8ccc514f85eed8aba7b20.zip |
net: phy: mv88e61xx: 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>
Acked-by: Michal Simek <michal.simek@amd.com>
Tested-by: Michal Simek <michal.simek@amd.com> #microblaze (MANUAL_RELOC)
Diffstat (limited to 'include/phy.h')
-rw-r--r-- | include/phy.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/phy.h b/include/phy.h index 51c2ddb7e4..9e5a9196cb 100644 --- a/include/phy.h +++ b/include/phy.h @@ -315,7 +315,6 @@ int gen10g_startup(struct phy_device *phydev); int gen10g_shutdown(struct phy_device *phydev); int gen10g_discover_mmds(struct phy_device *phydev); -int phy_mv88e61xx_init(void); int phy_et1011c_init(void); int phy_lxt_init(void); int phy_marvell_init(void); |