ramips: add proper system clock and reset driver support for legacy SoCs
[openwrt/openwrt.git] / target / linux / ramips / patches-5.15 / 300-mt7620-export-chip-version-and-pkg.patch
index c31be4a5dfc7aa2d934cf9b946e0f12e92596746..4f4fe9018a1cec6512c91792946d7e4b29ad3e4e 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/include/asm/mach-ralink/mt7620.h
 +++ b/arch/mips/include/asm/mach-ralink/mt7620.h
-@@ -96,4 +96,16 @@ static inline int mt7620_get_eco(void)
+@@ -61,4 +61,16 @@ static inline int mt7620_get_eco(void)
        return rt_sysc_r32(SYSC_REG_CHIP_REV) & CHIP_REV_ECO_MASK;
  }