From: Arend van Spriel Date: Wed, 29 Jun 2011 23:47:34 +0000 (-0700) Subject: staging: brcm80211: define SHOW_EVENTS macro only for debugging X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ca9c786dc24c286a55a36d1a99fa9e85e94fee31;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git 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 --- 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 \