From f8d455c4c2ea86045235d21f8f288b79b10247c9 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Thu, 28 Sep 2017 08:59:06 -0700 Subject: [PATCH] qcacld-3.0: Prevent pHddCtx from being re-introduced A recent set of changes replaced all instances of pHddCtx in the driver. But one subsequent change re-introduced the term (this was subsequently fixed), and code under review is also attempting to re-introduce the term. Put a mechanism in place to prevent this term from being re-introduced. Change-Id: I424045ec36678da3d3aa47029fbcdfd6140057a0 CRs-Fixed: 2118493 --- core/hdd/inc/wlan_hdd_main.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/core/hdd/inc/wlan_hdd_main.h b/core/hdd/inc/wlan_hdd_main.h index a39fcdd79d4a..67bb1044e5dc 100644 --- a/core/hdd/inc/wlan_hdd_main.h +++ b/core/hdd/inc/wlan_hdd_main.h @@ -33,6 +33,14 @@ * Linux HDD Adapter Type */ +/* + * The following terms were in use in prior versions of the driver but + * have now been replaced with terms that are aligned with the Linux + * Coding style. Macros are defined to hopefully prevent new instances + * from being introduced, primarily by code propagation. + */ +#define pHddCtx + /* * Include files */