kmod-switch-bcm53xx: fixes build on kernel 5.15

Fixes: #8583, #8586
Signed-off-by: AmadeusGhost <amadeus@openjmu.xyz>
This commit is contained in:
AmadeusGhost 2021-12-30 23:16:50 +08:00
parent af9ddeb7c9
commit 9ba612191d

View File

@ -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;