staging: brcm80211: define SHOW_EVENTS macro only for debugging
authorArend van Spriel <arend@broadcom.com>
Wed, 29 Jun 2011 23:47:34 +0000 (16:47 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 5 Jul 2011 16:57:20 +0000 (09:57 -0700)
The macro SHOW_EVENTS will only be defined when Kconfig setting
BRCMDBG is set.

Signed-off-by: Arend van Spriel <arend@broadcom.com>
Reviewed-by: Roland Vossen <rvossen@broadcom.com>
Reviewed-by: Franky Lin <frankyl@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmfmac/Makefile

index 7441649d16a2652435f381bca5d7e08f70acc77a..2fcc409648f66b43adda638a85a0f539a632b84d 100644 (file)
@@ -20,10 +20,9 @@ ccflags-y :=                 \
        -DBRCM_FULLMAC          \
        -DBRCMF_FIRSTREAD=64    \
        -DBRCMF_SDALIGN=64      \
-       -DMAX_HDR_READ=64       \
-       -DSHOW_EVENTS
+       -DMAX_HDR_READ=64
 
-ccflags-$(CONFIG_BRCMDBG)      += -DDHD_DEBUG
+ccflags-$(CONFIG_BRCMDBG)      += -DDHD_DEBUG -DSHOW_EVENTS
 
 ccflags-y += \
        -Idrivers/staging/brcm80211/brcmfmac    \