From ca9c786dc24c286a55a36d1a99fa9e85e94fee31 Mon Sep 17 00:00:00 2001 From: Arend van Spriel Date: Wed, 29 Jun 2011 16:47:34 -0700 Subject: [PATCH] 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 Reviewed-by: Roland Vossen Reviewed-by: Franky Lin Signed-off-by: Greg Kroah-Hartman --- drivers/staging/brcm80211/brcmfmac/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/brcm80211/brcmfmac/Makefile b/drivers/staging/brcm80211/brcmfmac/Makefile index 7441649d16a2..2fcc409648f6 100644 --- a/drivers/staging/brcm80211/brcmfmac/Makefile +++ b/drivers/staging/brcm80211/brcmfmac/Makefile @@ -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 \