From 2b791597daf82c6fa33aa78c2aa7d12efe6cbd46 Mon Sep 17 00:00:00 2001 From: Balamurugan Mahalingam Date: Mon, 3 Sep 2018 17:19:27 +0530 Subject: [PATCH] qcacmn: Avoid including hal_api.h for non qca8074 targets Removing the compilation flags throws compilation error for non qca8074 targets Change-Id: I8e83bf229c487cff7db8af41be387b89c2b7fed0 --- hif/src/hif_main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hif/src/hif_main.c b/hif/src/hif_main.c index bf8d9d69b9b4..fb9ebde91579 100644 --- a/hif/src/hif_main.c +++ b/hif/src/hif_main.c @@ -38,7 +38,9 @@ #include "qdf_status.h" #include "hif_debug.h" #include "mp_dev.h" +#ifdef QCA_WIFI_QCA8074 #include "hal_api.h" +#endif #include "hif_napi.h" #include "hif_unit_test_suspend_i.h" #include "qdf_module.h"