[PATCH 2/2] dt-bindings: clock: rk3568: Drop CLK_NR_CLKS define
Heiko Stuebner
heiko at sntech.de
Mon Nov 3 15:40:32 PST 2025
CLK_NR_CLKS has always only be used on the driver side to calculate array
sizes should never have been part of the clock-binding.
Let's drop it, since the kernel code no longer uses it either and nothing
else has ever used it.
Signed-off-by: Heiko Stuebner <heiko at sntech.de>
---
include/dt-bindings/clock/rk3568-cru.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/dt-bindings/clock/rk3568-cru.h b/include/dt-bindings/clock/rk3568-cru.h
index 5263085c5b23..f01f0e9ce8f1 100644
--- a/include/dt-bindings/clock/rk3568-cru.h
+++ b/include/dt-bindings/clock/rk3568-cru.h
@@ -483,8 +483,6 @@
#define PCLK_CORE_PVTM 450
-#define CLK_NR_CLKS (PCLK_CORE_PVTM + 1)
-
/* pmu soft-reset indices */
/* pmucru_softrst_con0 */
#define SRST_P_PDPMU_NIU 0
--
2.47.2
More information about the Linux-rockchip
mailing list