diff options
author | Yong-hyu, Ban <perillamint@quendi.moe> | 2020-04-26 18:43:22 +0900 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2020-04-27 22:32:07 +0200 |
commit | 8fdf77878f46cac683115c10ee91956a35e61046 (patch) | |
tree | b3f09db27e9f999104ee98eba84dfa05895c43f0 /target/linux/ramips/dts/mt7620a_sercomm_na930.dts | |
parent | 1c008b61bd1284ea68abdc59173de484110986c9 (diff) | |
download | upstream-8fdf77878f46cac683115c10ee91956a35e61046.tar.gz upstream-8fdf77878f46cac683115c10ee91956a35e61046.tar.bz2 upstream-8fdf77878f46cac683115c10ee91956a35e61046.zip |
mediatek: fix compile error caused by upstreamed mtk_m32 function
This fixes following compile error:
```
CC drivers/net/ethernet/mediatek/mtk_eth_soc.o
drivers/net/ethernet/mediatek/mtk_eth_soc.c:70:5: error: conflicting types for 'mtk_m32'
u32 mtk_m32(struct mtk_eth *eth, u32 mask, u32 set, unsigned reg)
^~~~~~~
In file included from drivers/net/ethernet/mediatek/mtk_eth_soc.c:25:
drivers/net/ethernet/mediatek/mtk_eth_soc.h:964:6: note: previous declaration of 'mtk_m32' was here
void mtk_m32(struct mtk_eth *eth, u32 clear, u32 set, unsigned reg);
^~~~~~~
```
which caused by 5.4.34 mainlining of mtk_m32 function.
Fixes: faf668be354a ("kernel: bump 5.4 to 5.4.34")
Signed-off-by: Yong-hyu, Ban <perillamint@quendi.moe>
Diffstat (limited to 'target/linux/ramips/dts/mt7620a_sercomm_na930.dts')
0 files changed, 0 insertions, 0 deletions