On 1/17/2024 8:14 AM, Karthikeyan Periyasamy wrote: [snip] > -static int ath12k_mac_hw_allocate(struct ath12k_base *ab) > +struct ath12k_hw *ath12k_mac_hw_allocate(struct ath12k_base *ab, this needs to stay static, currently fails ath12k-check: drivers/net/wireless/ath/ath12k/mac.c:7897:19: error: no previous prototype for 'ath12k_mac_hw_allocate' [-Werror=missing-prototypes] make[7]: *** [drivers/net/wireless/ath/ath12k/mac.o] Error 1