ramips: make ethernet register map u16 instead of u32
[openwrt/svn-archive/archive.git] / target / linux / ramips / files / drivers / net / ethernet / ralink / soc_mt7620.c
index f408f077332063438caf4c3ff6f17703c1673bca..a18c1c9a5451b6a32aaef0539389629581f268c5 100644 (file)
@@ -72,7 +72,7 @@
 #define MT7621_FE_GDM1_AF      BIT(28)
 #define MT7621_FE_GDM2_AF      BIT(29)
 
-static const u32 mt7620_reg_table[FE_REG_COUNT] = {
+static const u16 mt7620_reg_table[FE_REG_COUNT] = {
        [FE_REG_PDMA_GLO_CFG] = RT5350_PDMA_GLO_CFG,
        [FE_REG_PDMA_RST_CFG] = RT5350_PDMA_RST_CFG,
        [FE_REG_DLY_INT_CFG] = RT5350_DLY_INT_CFG,
@@ -92,7 +92,7 @@ static const u32 mt7620_reg_table[FE_REG_COUNT] = {
        [FE_REG_FE_INT_STATUS2] = MT7620_FE_INT_STATUS2,
 };
 
-static const u32 mt7621_reg_table[FE_REG_COUNT] = {
+static const u16 mt7621_reg_table[FE_REG_COUNT] = {
        [FE_REG_PDMA_GLO_CFG] = RT5350_PDMA_GLO_CFG,
        [FE_REG_PDMA_RST_CFG] = RT5350_PDMA_RST_CFG,
        [FE_REG_DLY_INT_CFG] = RT5350_DLY_INT_CFG,