mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 14:23:38 +00:00
kmod-switch-bcm53xx: fixes build on kernel 5.15
Fixes: #8583, #8586 Signed-off-by: AmadeusGhost <amadeus@openjmu.xyz>
This commit is contained in:
parent
af9ddeb7c9
commit
9ba612191d
@ -529,7 +529,7 @@ static int b53_configure_ports_of(struct b53_device *dev)
|
||||
po |= PORT_OVERRIDE_SPEED_2000M;
|
||||
else
|
||||
po |= GMII_PO_SPEED_2000M;
|
||||
/* fall through */
|
||||
__attribute__((__fallthrough__));
|
||||
case 1000:
|
||||
po |= GMII_PO_SPEED_1000M;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user