diff options
author | Dan Williams <dcbw@redhat.com> | 2007-05-10 23:05:55 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2007-05-11 14:54:55 -0400 |
commit | 3a8b9a4a6b4e7cfd147f94f5772641a34e12efe4 (patch) | |
tree | ee38526d3a629fbcf19d5d6bae024892925ba270 /drivers/net/wireless/libertas | |
parent | 4f3465f80564e07a5756b11365cd24f9d693a9bb (diff) |
[PATCH] libertas: Clean up debug defines
Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas')
-rw-r--r-- | drivers/net/wireless/libertas/Makefile | 8 | ||||
-rw-r--r-- | drivers/net/wireless/libertas/defs.h | 5 |
2 files changed, 5 insertions, 8 deletions
diff --git a/drivers/net/wireless/libertas/Makefile b/drivers/net/wireless/libertas/Makefile index 19e38d9e18e9..56a8ea1fbf04 100644 --- a/drivers/net/wireless/libertas/Makefile +++ b/drivers/net/wireless/libertas/Makefile | |||
@@ -1,5 +1,3 @@ | |||
1 | # EXTRA_CFLAGS += -Wpacked | ||
2 | |||
3 | usb8xxx-objs := main.o fw.o wext.o \ | 1 | usb8xxx-objs := main.o fw.o wext.o \ |
4 | rx.o tx.o cmd.o \ | 2 | rx.o tx.o cmd.o \ |
5 | cmdresp.o scan.o \ | 3 | cmdresp.o scan.o \ |
@@ -7,12 +5,6 @@ usb8xxx-objs := main.o fw.o wext.o \ | |||
7 | ioctl.o debugfs.o \ | 5 | ioctl.o debugfs.o \ |
8 | ethtool.o assoc.o | 6 | ethtool.o assoc.o |
9 | 7 | ||
10 | ifeq ($(CONFIG_LIBERTAS_USB_DEBUG), y) | ||
11 | EXTRA_CFLAGS += -DDEBUG -DPROC_DEBUG | ||
12 | endif | ||
13 | |||
14 | |||
15 | #EXTRA_CFLAGS += | ||
16 | usb8xxx-objs += if_bootcmd.o | 8 | usb8xxx-objs += if_bootcmd.o |
17 | usb8xxx-objs += if_usb.o | 9 | usb8xxx-objs += if_usb.o |
18 | 10 | ||
diff --git a/drivers/net/wireless/libertas/defs.h b/drivers/net/wireless/libertas/defs.h index 9156bbc53a38..80dd9ea19c8e 100644 --- a/drivers/net/wireless/libertas/defs.h +++ b/drivers/net/wireless/libertas/defs.h | |||
@@ -9,6 +9,11 @@ | |||
9 | 9 | ||
10 | extern unsigned int libertas_debug; | 10 | extern unsigned int libertas_debug; |
11 | 11 | ||
12 | #ifdef CONFIG_LIBERTAS_DEBUG | ||
13 | #define DEBUG | ||
14 | #define PROC_DEBUG | ||
15 | #endif | ||
16 | |||
12 | #define DRV_NAME "usb8xxx" | 17 | #define DRV_NAME "usb8xxx" |
13 | 18 | ||
14 | #define lbs_pr_info(format, args...) \ | 19 | #define lbs_pr_info(format, args...) \ |