Skip to content

Commit

Permalink
[PATCH] libertas: Clean up debug defines
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Dan Williams authored and John W. Linville committed May 11, 2007
1 parent 4f3465f commit 3a8b9a4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
8 changes: 0 additions & 8 deletions drivers/net/wireless/libertas/Makefile
Original file line number Diff line number Diff line change
@@ -1,18 +1,10 @@
# EXTRA_CFLAGS += -Wpacked

usb8xxx-objs := main.o fw.o wext.o \
rx.o tx.o cmd.o \
cmdresp.o scan.o \
join.o 11d.o \
ioctl.o debugfs.o \
ethtool.o assoc.o

ifeq ($(CONFIG_LIBERTAS_USB_DEBUG), y)
EXTRA_CFLAGS += -DDEBUG -DPROC_DEBUG
endif


#EXTRA_CFLAGS +=
usb8xxx-objs += if_bootcmd.o
usb8xxx-objs += if_usb.o

Expand Down
5 changes: 5 additions & 0 deletions drivers/net/wireless/libertas/defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@

extern unsigned int libertas_debug;

#ifdef CONFIG_LIBERTAS_DEBUG
#define DEBUG
#define PROC_DEBUG
#endif

#define DRV_NAME "usb8xxx"

#define lbs_pr_info(format, args...) \
Expand Down

0 comments on commit 3a8b9a4

Please sign in to comment.