aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/files-5.10/drivers/net/phy/rtl83xx-phy.h
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2022-02-04 12:28:37 +0000
committerDaniel Golle <daniel@makrotopia.org>2022-02-17 15:21:47 +0000
commitb53202a8c3f728c348c5376e5b5fb36af7c37744 (patch)
tree0127ff821379b3fce4b5d3419280fa6ade978acf /target/linux/realtek/files-5.10/drivers/net/phy/rtl83xx-phy.h
parentaf93bf6129d812937eeffc183878d60c6b700b7e (diff)
downloadupstream-b53202a8c3f728c348c5376e5b5fb36af7c37744.tar.gz
upstream-b53202a8c3f728c348c5376e5b5fb36af7c37744.tar.bz2
upstream-b53202a8c3f728c348c5376e5b5fb36af7c37744.zip
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 <daniel@makrotopia.org>
Diffstat (limited to 'target/linux/realtek/files-5.10/drivers/net/phy/rtl83xx-phy.h')
-rw-r--r--target/linux/realtek/files-5.10/drivers/net/phy/rtl83xx-phy.h3
1 files changed, 1 insertions, 2 deletions
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;
};