]> git.baikalelectronics.ru Git - kernel.git/commit
ath11k: fix link error when CONFIG_REMOTEPROC is disabled
authorKalle Valo <kvalo@codeaurora.org>
Thu, 10 Sep 2020 07:20:59 +0000 (07:20 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 11 Sep 2020 09:58:09 +0000 (12:58 +0300)
commit7e95d2c19da6cd2187eb619fc46c54f21c993f72
tree6a8214c3c1024a943b418e30164eff6ae3565233
parent03e0bb442d58cd4c928ccc0089d8e697ea02cd27
ath11k: fix link error when CONFIG_REMOTEPROC is disabled

If CONFIG_REMOTEPROC was disabled the linking failed with:

ERROR: modpost: "rproc_get_by_phandle" [drivers/net/wireless/ath/ath11k/ath11k.ko] undefined!

Compile tested only.

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Fixes: 23e67c57c7eb ("ath11k: use remoteproc only with AHB devices")
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/0101017476e38f40-c4168ac4-c00a-4220-a032-fe17e4a157cb-000000@us-west-2.amazonses.com
drivers/net/wireless/ath/ath11k/core.c