From 23e6e08b32194f830cee235974b9193d5f4d1473 Mon Sep 17 00:00:00 2001 From: Kiran Venkatappa Date: Fri, 11 Nov 2016 16:49:40 +0530 Subject: [PATCH] qcacmn: Fix implicit declaration error for TLV helper APIs Include TLV helper header file to fix implict function decration warning treated as error. These APIs are required only for TLV target, hence put it under TLV compilation flag. Change-Id: I50f3629b3f69c3cdb46e2384e47d2559c803cd4c CRs-Fixed: 1090087 --- wmi_unified.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wmi_unified.c b/wmi_unified.c index 1756ca66f9..eb9f0ad3ab 100644 --- a/wmi_unified.c +++ b/wmi_unified.c @@ -40,6 +40,10 @@ #include "wmi_unified_priv.h" #include "wmi_unified_param.h" +#ifndef WMI_NON_TLV_SUPPORT +#include "wmi_tlv_helper.h" +#endif + #include /* This check for CONFIG_WIN temporary added due to redeclaration compilation