1 --- a/arch/mips/include/asm/mach-ralink/mt7620.h
2 +++ b/arch/mips/include/asm/mach-ralink/mt7620.h
4 #define MT7620_GPIO_MODE_EPHY 15
5 #define MT7620_GPIO_MODE_PA 20
7 +static inline int mt7620_get_eco(void)
9 + return rt_sysc_r32(SYSC_REG_CHIP_REV) & CHIP_REV_ECO_MASK;