]> err.no Git - linux-2.6/commitdiff
[PATCH] libertas: Clean up debug defines
authorDan Williams <dcbw@redhat.com>
Fri, 11 May 2007 03:05:55 +0000 (23:05 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 11 May 2007 18:54:55 +0000 (14:54 -0400)
Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/Makefile
drivers/net/wireless/libertas/defs.h

index 19e38d9e18e973d7c885ae9ab934a514a91473d0..56a8ea1fbf041a6c24d8baea4efd298c089bb248 100644 (file)
@@ -1,5 +1,3 @@
-# EXTRA_CFLAGS += -Wpacked
-
 usb8xxx-objs := main.o fw.o wext.o \
                rx.o tx.o cmd.o           \
                cmdresp.o scan.o          \
@@ -7,12 +5,6 @@ usb8xxx-objs := main.o fw.o wext.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
 
index 9156bbc53a384adee375138e00f105a33023c76e..80dd9ea19c8e4b7ea2faa8c4cbf5874acc77e0a6 100644 (file)
@@ -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...) \