diff options
author | Tom Rini <trini@konsulko.com> | 2023-05-08 14:31:04 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-05-08 14:31:04 -0400 |
commit | 11910550b65e6072b9542d462c0aa93f4ca81836 (patch) | |
tree | 8308c98ffad76d9693654a28090b03f270a7d250 /drivers/net/phy/xilinx_phy.c | |
parent | 9876c8c147144db2c120fcc9ffa6de27f6894441 (diff) | |
parent | f1d33a44ca04fdca241c1d89fd79e2e56c930c7e (diff) |
Merge branch 'master' into next
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 39dbfdb7da8..1df639d6f44 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; -} |