staging: brcm80211: define SHOW_EVENTS macro only for debugging

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>
This commit is contained in:
Arend van Spriel 2011-06-29 16:47:34 -07:00 committed by Greg Kroah-Hartman
parent 68d0a2490a
commit ca9c786dc2
1 changed files with 2 additions and 3 deletions

View File

@ -20,10 +20,9 @@ ccflags-y := \
-DBRCM_FULLMAC \ -DBRCM_FULLMAC \
-DBRCMF_FIRSTREAD=64 \ -DBRCMF_FIRSTREAD=64 \
-DBRCMF_SDALIGN=64 \ -DBRCMF_SDALIGN=64 \
-DMAX_HDR_READ=64 \ -DMAX_HDR_READ=64
-DSHOW_EVENTS
ccflags-$(CONFIG_BRCMDBG) += -DDHD_DEBUG ccflags-$(CONFIG_BRCMDBG) += -DDHD_DEBUG -DSHOW_EVENTS
ccflags-y += \ ccflags-y += \
-Idrivers/staging/brcm80211/brcmfmac \ -Idrivers/staging/brcm80211/brcmfmac \