diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-03-22 15:11:14 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-03-22 15:11:14 +0000 |
commit | e890a3bc9a2bc8713be6719796724c4e24ecdfb9 (patch) | |
tree | 5bb04648d13e35dfbd498f5dfc49eb960c573677 /target/linux/ramips/files/drivers/net/ethernet/ralink/soc_rt305x.c | |
parent | fb6164a3778c4609c0b8a34498eb8e617fb1a2ce (diff) | |
download | upstream-e890a3bc9a2bc8713be6719796724c4e24ecdfb9.tar.gz upstream-e890a3bc9a2bc8713be6719796724c4e24ecdfb9.tar.bz2 upstream-e890a3bc9a2bc8713be6719796724c4e24ecdfb9.zip |
ramips: make ethernet register map u16 instead of u32
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44940
Diffstat (limited to 'target/linux/ramips/files/drivers/net/ethernet/ralink/soc_rt305x.c')
-rw-r--r-- | target/linux/ramips/files/drivers/net/ethernet/ralink/soc_rt305x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/files/drivers/net/ethernet/ralink/soc_rt305x.c b/target/linux/ramips/files/drivers/net/ethernet/ralink/soc_rt305x.c index eacb8d874b..c1baa40b82 100644 --- a/target/linux/ramips/files/drivers/net/ethernet/ralink/soc_rt305x.c +++ b/target/linux/ramips/files/drivers/net/ethernet/ralink/soc_rt305x.c @@ -25,7 +25,7 @@ #define RT305X_RESET_FE BIT(21) #define RT305X_RESET_ESW BIT(23) -static const u32 rt5350_reg_table[FE_REG_COUNT] = { +static const u16 rt5350_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, |