Skip to content

Commit

Permalink
staging: brcm80211: define SHOW_EVENTS macro only for debugging
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Arend van Spriel authored and Greg Kroah-Hartman committed Jul 5, 2011
1 parent 68d0a24 commit ca9c786
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions drivers/staging/brcm80211/brcmfmac/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit ca9c786

Please sign in to comment.