[PATCH 2/3] net: designware: rockchip: remove unnecessary clock pclk_xpcs
Michael Riesch
michael.riesch at wolfvision.net
Thu Nov 11 06:03:15 PST 2021
The pclk_xpcs clock is not used in the mainline Linux driver and
only rarely specified in the mainline dts files. Drop it in order
to avoid errors when the mainline dts files are used.
Signed-off-by: Michael Riesch <michael.riesch at wolfvision.net>
---
drivers/net/designware_rockchip.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/net/designware_rockchip.c b/drivers/net/designware_rockchip.c
index e4f74f646..7acbd723b 100644
--- a/drivers/net/designware_rockchip.c
+++ b/drivers/net/designware_rockchip.c
@@ -44,7 +44,6 @@ enum {
CLK_MAC_PCLK,
CLK_MAC_SPEED,
CLK_PTP_REF,
- CLK_XPCS_PCLK,
};
static const struct clk_bulk_data rk_gmac_clks[] = {
@@ -56,7 +55,6 @@ static const struct clk_bulk_data rk_gmac_clks[] = {
[CLK_MAC_PCLK] = { .id = "pclk_mac" },
[CLK_MAC_SPEED] = { .id = "clk_mac_speed" },
[CLK_PTP_REF] = { .id = "ptp_ref" },
- [CLK_XPCS_PCLK] = { .id = "pclk_xpcs" },
};
static inline struct eqos_rk_gmac *to_rk_gmac(struct eqos *eqos)
--
2.30.2
More information about the barebox
mailing list