diff options
| author | Marek Vasut <[email protected]> | 2023-03-19 18:03:13 +0100 |
|---|---|---|
| committer | Marek Vasut <[email protected]> | 2023-04-07 14:18:51 +0200 |
| commit | 20bd8e4fcbb537be0f564bbc90e3a571aeeabf8d (patch) | |
| tree | df2d1166ae8f795d694dcffef347dcb014eb8a22 /include/phy.h | |
| parent | f7053296cbe75fa7e5634b63d983e9d630052a96 (diff) | |
net: phy: gen10g: 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 | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/phy.h b/include/phy.h index df2586f89ea..5f4967cb150 100644 --- a/include/phy.h +++ b/include/phy.h @@ -173,10 +173,6 @@ struct fixed_link { int asym_pause; }; -#ifdef CONFIG_PHYLIB_10G -extern struct phy_driver gen10g_driver; -#endif - /** * phy_init() - Initializes the PHY drivers * This function registers all available PHY drivers |
