summaryrefslogtreecommitdiff
path: root/uapi/linux/debug_linux.h
diff options
context:
space:
mode:
authorSrinivas Girigowda <sgirigow@codeaurora.org>2016-10-18 12:26:15 -0700
committerqcabuildsw <qcabuildsw@localhost>2016-10-19 10:45:28 -0700
commit6147c58dff00905c59dc4f432e6487aa8d278bb6 (patch)
tree0f87572368dae0050b7e36d61a3a50c906684fb1 /uapi/linux/debug_linux.h
parent90cdd3cda25c21295ca5b54297f970b25bd02f84 (diff)
qcacld-3.0: Replace DEBUG macro with WLAN_DEBUG
This is a qcacld-2.0 to qcacld-3.0 propagation. pr_debug() should not appear by default in kernel log (kmsg). DEBUG is a kernel macro, since host driver is using the same name macro, pr_debug log statements are appearing in kmsg. Fix this by moving the code under DEBUG to WLAN_DEBUG and remove DEBUG macro from Kbuild. Change-Id: I5bb385f91f9b6ba15629a5878625fefc21d4a7e1 CRs-Fixed: 1003261
Diffstat (limited to 'uapi/linux/debug_linux.h')
-rw-r--r--uapi/linux/debug_linux.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/uapi/linux/debug_linux.h b/uapi/linux/debug_linux.h
index 57c3590efba4..428c90b057f5 100644
--- a/uapi/linux/debug_linux.h
+++ b/uapi/linux/debug_linux.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2013-2015 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2013-2016 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -31,7 +31,7 @@
/* macro to remove parens */
#define ATH_PRINTX_ARG(arg ...) arg
-#ifdef DEBUG
+#ifdef WLAN_DEBUG
/* NOTE: the AR_DEBUG_PRINTF macro is defined here to handle special handling of variable arg macros
* which may be compiler dependent. */
#define AR_DEBUG_PRINTF(mask, args) do { \