diff options
author | Marek Vasut | 2023-03-19 18:02:47 +0100 |
---|---|---|
committer | Marek Vasut | 2023-04-07 14:18:48 +0200 |
commit | c00f3f826f631f21006b5a6c4dcaf969ad6265e3 (patch) | |
tree | b94c8f06b856ca2239344c12610510633e15538c /include/phy.h | |
parent | 761e4060fecb2f5320df0b8f6babca836bb32de1 (diff) |
net: phy: broadcom: 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 88c9013f1f8..cecfbe6968f 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_broadcom_init(void); int phy_cortina_init(void); int phy_cortina_access_init(void); int phy_davicom_init(void); |