From b53202a8c3f728c348c5376e5b5fb36af7c37744 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Fri, 4 Feb 2022 12:28:37 +0000 Subject: realtek: switch to use generic MDIO accessor functions Instead of directly calling SoC-specific functions in order to access (paged) MII registers or MMD registers, create infrastructure to allow using the generic phy_*, phy_*_paged and phy_*_mmd functions. Signed-off-by: Daniel Golle --- target/linux/realtek/files-5.10/drivers/net/phy/rtl83xx-phy.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'target/linux/realtek/files-5.10/drivers/net/phy/rtl83xx-phy.h') diff --git a/target/linux/realtek/files-5.10/drivers/net/phy/rtl83xx-phy.h b/target/linux/realtek/files-5.10/drivers/net/phy/rtl83xx-phy.h index 1ccb560d2a..553d9a1575 100644 --- a/target/linux/realtek/files-5.10/drivers/net/phy/rtl83xx-phy.h +++ b/target/linux/realtek/files-5.10/drivers/net/phy/rtl83xx-phy.h @@ -1,7 +1,6 @@ // SPDX-License-Identifier: GPL-2.0-only -// TODO: not really used -struct rtl838x_phy_priv { +struct rtl83xx_shared_private { char *name; }; -- cgit v1.2.3