diff options
author | Tom Rini <trini@konsulko.com> | 2023-04-07 10:51:49 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-04-07 10:51:49 -0400 |
commit | 19d0c64f89ee5a0d5d3077e5d7ec7dafd74a0d45 (patch) | |
tree | 0d4a0f89694e6869f1b0a453b3cc2f4fdec4ce9e /drivers/net/phy/xilinx_phy.c | |
parent | 340bebf9c799793affefd166875d5776744988bd (diff) | |
parent | b0177a24d48e4ce13bfd7fce0d9c17dc0996f9a5 (diff) |
Merge branch 'master_net/phy/prep-cleanup' of https://source.denx.de/u-boot/custodians/u-boot-sh
- PHY framework cleanups
Diffstat (limited to 'drivers/net/phy/xilinx_phy.c')
-rw-r--r-- | drivers/net/phy/xilinx_phy.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/drivers/net/phy/xilinx_phy.c b/drivers/net/phy/xilinx_phy.c index 39dbfdb7da..1df639d6f4 100644 --- a/drivers/net/phy/xilinx_phy.c +++ b/drivers/net/phy/xilinx_phy.c @@ -127,7 +127,7 @@ static int xilinxphy_config(struct phy_device *phydev) return 0; } -static struct phy_driver xilinxphy_driver = { +U_BOOT_PHY_DRIVER(xilinxphy) = { .uid = XILINX_PHY_ID, .mask = XILINX_PHY_ID_MASK, .name = "Xilinx PCS/PMA PHY", @@ -136,11 +136,3 @@ static struct phy_driver xilinxphy_driver = { .startup = &xilinxphy_startup, .shutdown = &genphy_shutdown, }; - -int phy_xilinx_init(void) -{ - debug("%s\n", __func__); - phy_register(&xilinxphy_driver); - - return 0; -} |