diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2018-03-21 10:54:14 +0100 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2018-03-21 10:54:14 +0100 |
commit | bfc6514e948cd357191c115ac4dac4fc11937ac4 (patch) | |
tree | d0905263df770a1423a33302850a88ed29d9dc45 | |
parent | 0f1a1489a6c584d7de6680a65b457acf328818bd (diff) | |
download | mtk-20170518-bfc6514e948cd357191c115ac4dac4fc11937ac4.zip mtk-20170518-bfc6514e948cd357191c115ac4dac4fc11937ac4.tar.gz mtk-20170518-bfc6514e948cd357191c115ac4dac4fc11937ac4.tar.bz2 |
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>
-rw-r--r-- | target/linux/generic/files/drivers/net/phy/b53/b53_priv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/b53/b53_priv.h b/target/linux/generic/files/drivers/net/phy/b53/b53_priv.h index d148c03..a9296c9 100644 --- a/target/linux/generic/files/drivers/net/phy/b53/b53_priv.h +++ b/target/linux/generic/files/drivers/net/phy/b53/b53_priv.h @@ -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_WRT310NV1: return 8; + default: + break; } #endif |