diff options
author | Marek Vasut <marek.vasut+renesas@mailbox.org> | 2023-03-19 18:02:50 +0100 |
---|---|---|
committer | Marek Vasut <marek.vasut+renesas@mailbox.org> | 2023-04-07 14:18:49 +0200 |
commit | 7e9ce5adf6ff14cc051fd9fe11107cd6ce0ba0ef (patch) | |
tree | b7936a8604a08fb77f734306104b85c94f1b71e9 /include/phy.h | |
parent | 579f359269266b99115b68679a6f5acbcfbc1e7d (diff) | |
download | u-boot-7e9ce5adf6ff14cc051fd9fe11107cd6ce0ba0ef.tar.gz |
net: phy: davicom: 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 797139bf681..51c2ddb7e4e 100644 --- a/include/phy.h +++ b/include/phy.h @@ -316,7 +316,6 @@ int gen10g_shutdown(struct phy_device *phydev); int gen10g_discover_mmds(struct phy_device *phydev); int phy_mv88e61xx_init(void); -int phy_davicom_init(void); int phy_et1011c_init(void); int phy_lxt_init(void); int phy_marvell_init(void); |