diff options
author | Marek Vasut <marek.vasut+renesas@mailbox.org> | 2023-03-19 18:02:44 +0100 |
---|---|---|
committer | Marek Vasut <marek.vasut+renesas@mailbox.org> | 2023-04-07 14:18:48 +0200 |
commit | a5fbc10560699722b3a64a02ad0ce5cdae5d473f (patch) | |
tree | 8aa193f5978b5564cadfa7138eea4fe4358b642d /include | |
parent | 4de8644504a69285fa9e28da072ab1ec298543f5 (diff) | |
download | u-boot-a5fbc10560699722b3a64a02ad0ce5cdae5d473f.tar.gz u-boot-a5fbc10560699722b3a64a02ad0ce5cdae5d473f.tar.bz2 u-boot-a5fbc10560699722b3a64a02ad0ce5cdae5d473f.zip |
net: phy: aquantia: 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')
-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 dbc0da7e08..a0060cd19e 100644 --- a/include/phy.h +++ b/include/phy.h @@ -317,7 +317,6 @@ int gen10g_discover_mmds(struct phy_device *phydev); int phy_b53_init(void); int phy_mv88e61xx_init(void); -int phy_aquantia_init(void); int phy_atheros_init(void); int phy_broadcom_init(void); int phy_cortina_init(void); |