ath79: lzma-loader: fix syntax error
C compiler can't parse '#else if'.
Fixes: f84a9f7dc0
("ath79: add support for Huawei AP6010DN")
Signed-off-by: Shiji Yang <yangshiji66@qq.com>
Link: https://github.com/openwrt/openwrt/pull/16989
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
cd92cbddf8
commit
98f26346cb
|
@ -209,7 +209,7 @@ static inline void huawei_ap_init(void)
|
||||||
#if defined(CONFIG_BOARD_HUAWEI_AP5030DN)
|
#if defined(CONFIG_BOARD_HUAWEI_AP5030DN)
|
||||||
WRITEREG(gpiobase + AR934X_GPIO_REG_OUT_FUNC3,
|
WRITEREG(gpiobase + AR934X_GPIO_REG_OUT_FUNC3,
|
||||||
reg | (QCA955X_GPIO_OUTSEL_CLK_OBS5 << 24));
|
reg | (QCA955X_GPIO_OUTSEL_CLK_OBS5 << 24));
|
||||||
#else if defined(CONFIG_BOARD_HUAWEI_AP6010DN)
|
#elif defined(CONFIG_BOARD_HUAWEI_AP6010DN)
|
||||||
WRITEREG(gpiobase + AR934X_GPIO_REG_OUT_FUNC3,
|
WRITEREG(gpiobase + AR934X_GPIO_REG_OUT_FUNC3,
|
||||||
reg | (AR934X_GPIO_OUTSEL_CLK_OBS4 << 24));
|
reg | (AR934X_GPIO_OUTSEL_CLK_OBS4 << 24));
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue