aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/ath/ath11k/core.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath11k/core.c b/drivers/net/wireless/ath/ath11k/core.c
index 06c3df6037d5..ce81702b27d2 100644
--- a/drivers/net/wireless/ath/ath11k/core.c
+++ b/drivers/net/wireless/ath/ath11k/core.c
@@ -848,6 +848,9 @@ static int ath11k_core_get_rproc(struct ath11k_base *ab)
struct rproc *prproc;
phandle rproc_phandle;
+ if (!IS_ENABLED(CONFIG_REMOTEPROC))
+ return 0;
+
if (ab->bus_params.mhi_support)
return 0;