diff --git a/target/linux/ath79/image/lzma-loader/src/board.c b/target/linux/ath79/image/lzma-loader/src/board.c index 1445108508..294ca307d5 100644 --- a/target/linux/ath79/image/lzma-loader/src/board.c +++ b/target/linux/ath79/image/lzma-loader/src/board.c @@ -209,7 +209,7 @@ static inline void huawei_ap_init(void) #if defined(CONFIG_BOARD_HUAWEI_AP5030DN) WRITEREG(gpiobase + AR934X_GPIO_REG_OUT_FUNC3, 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, reg | (AR934X_GPIO_OUTSEL_CLK_OBS4 << 24)); #endif