diff options
| author | Marek Vasut <[email protected]> | 2023-03-19 18:03:08 +0100 |
|---|---|---|
| committer | Marek Vasut <[email protected]> | 2023-04-07 14:18:50 +0200 |
| commit | 5c359aa712d2b91e23df15a2b11cc72aa3682b30 (patch) | |
| tree | a754cd39b20ae6be7107b671d77ffd47c54ee32d /include/phy.h | |
| parent | 330d64f5a0d748707fe40139fa981aebeb2308a3 (diff) | |
net: phy: mscc: 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 <[email protected]>
Reviewed-by: Ramon Fried <[email protected]>
Acked-by: Michal Simek <[email protected]>
Tested-by: Michal Simek <[email protected]> #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 fc8300d5d97..e4a3e10c48b 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_mscc_init(void); int phy_fixed_init(void); int phy_ncsi_init(void); int phy_xilinx_gmii2rgmii_init(void); |
