mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-01 08:48:08 +00:00
kernel: b53: fix compilation on BCM47XX
This fixes: drivers/net/phy/b53/b53_priv.h:325:2: error: enumeration value '<board>' not handled in switch [-Werror=switch] errors. Fixes: 0de2213eeade7 ("kernel: b53: look for NVRAM's "robo_reset" entry on every platform") Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
This commit is contained in:
parent
0f1a1489a6
commit
bfc6514e94
@ -326,6 +326,8 @@ static inline int b53_switch_get_reset_gpio(struct b53_device *dev)
|
|||||||
case BCM47XX_BOARD_LINKSYS_WRT300NV11:
|
case BCM47XX_BOARD_LINKSYS_WRT300NV11:
|
||||||
case BCM47XX_BOARD_LINKSYS_WRT310NV1:
|
case BCM47XX_BOARD_LINKSYS_WRT310NV1:
|
||||||
return 8;
|
return 8;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user