Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mt76: connac: fix unresolved symbols when CONFIG_PM is unset

mt76_connac_mcu_reg_* functions are always needed by connac based drivers

Fixes: 87f9bf24ea84 ("mt76: connac: move mcu reg access utility routines in mt76_connac_lib module")
Signed-off-by: Felix Fietkau <nbd@nbd.name>

+1 -1
+1 -1
drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c
··· 2477 2477 mt76_connac_mcu_set_wow_ctrl(phy, vif, suspend, wowlan); 2478 2478 } 2479 2479 EXPORT_SYMBOL_GPL(mt76_connac_mcu_set_suspend_iter); 2480 + #endif /* CONFIG_PM */ 2480 2481 2481 2482 u32 mt76_connac_mcu_reg_rr(struct mt76_dev *dev, u32 offset) 2482 2483 { ··· 2506 2505 mt76_mcu_send_msg(dev, MCU_CMD_REG_WRITE, &req, sizeof(req), false); 2507 2506 } 2508 2507 EXPORT_SYMBOL_GPL(mt76_connac_mcu_reg_wr); 2509 - #endif /* CONFIG_PM */ 2510 2508 2511 2509 MODULE_AUTHOR("Lorenzo Bianconi <lorenzo@kernel.org>"); 2512 2510 MODULE_LICENSE("Dual BSD/GPL");