From a496f14ebe1a764d88ea92ef6c2009a47d886a4f Mon Sep 17 00:00:00 2001 From: Harsh Kumar Bijlani Date: Mon, 15 Mar 2021 17:15:47 +0530 Subject: [PATCH] qcacmn: Add forward declaration of structures to fix warnings Add forward declaration of structures wlan_objmgr_pdev and wlan_objmgr_vdev in file wlan_spectral_public_structs.h in order to fix compiler warnings. Change-Id: Ida73f3d3d808977ba1e813de3dd85e329fc13cd4 CRs-Fixed: 2907580 --- spectral/dispatcher/inc/wlan_spectral_public_structs.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/spectral/dispatcher/inc/wlan_spectral_public_structs.h b/spectral/dispatcher/inc/wlan_spectral_public_structs.h index 0211dd3e0f..4c485026c2 100644 --- a/spectral/dispatcher/inc/wlan_spectral_public_structs.h +++ b/spectral/dispatcher/inc/wlan_spectral_public_structs.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011,2017-2020 The Linux Foundation. All rights reserved. + * Copyright (c) 2011,2017-2021 The Linux Foundation. All rights reserved. * * * Permission to use, copy, modify, and/or distribute this software for @@ -218,7 +218,8 @@ enum spectral_dma_debug { }; struct wiphy; - +struct wlan_objmgr_pdev; +struct wlan_objmgr_vdev; /** * struct spectral_cfg80211_vendor_cmd_handlers - Spectral vendor command * handlers