aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2021-07-29 13:48:41 +0200
committerRafał Miłecki <rafal@milecki.pl>2021-07-29 13:53:47 +0200
commit5be1c022fee1c67e7553e45ee641e276319cbb66 (patch)
tree1fac42ed54ccb564c61ad0ff7af8021e8727f10c /target
parent9928236d16291cb7a7d40265454b6a23e9e03e7f (diff)
downloadupstream-5be1c022fee1c67e7553e45ee641e276319cbb66.tar.gz
upstream-5be1c022fee1c67e7553e45ee641e276319cbb66.tar.bz2
upstream-5be1c022fee1c67e7553e45ee641e276319cbb66.zip
kernel: fix bgmac compilation in kernel 5.10
It's required since upstream kernel commit 4bdc0d676a64 ("remove ioremap_nocache and devm_ioremap_nocache"). Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'target')
-rw-r--r--target/linux/generic/hack-5.10/773-bgmac-add-srab-switch.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/hack-5.10/773-bgmac-add-srab-switch.patch b/target/linux/generic/hack-5.10/773-bgmac-add-srab-switch.patch
index 1c1b727ab7..d0de01fe5b 100644
--- a/target/linux/generic/hack-5.10/773-bgmac-add-srab-switch.patch
+++ b/target/linux/generic/hack-5.10/773-bgmac-add-srab-switch.patch
@@ -55,7 +55,7 @@ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
net_dev->max_mtu = BGMAC_RX_MAX_FRAME_SIZE - ETH_FCS_LEN;
+ if ((bgmac->feature_flags & BGMAC_FEAT_SRAB) && !bgmac_b53_pdata.regs) {
-+ bgmac_b53_pdata.regs = ioremap_nocache(0x18007000, 0x1000);
++ bgmac_b53_pdata.regs = ioremap(0x18007000, 0x1000);
+
+ err = platform_device_register(&bgmac_b53_dev);
+ if (!err)