[PATCH] libertas: Clean up debug defines
Signed-off-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
4f3465f805
commit
3a8b9a4a6b
@@ -1,5 +1,3 @@
|
|||||||
# EXTRA_CFLAGS += -Wpacked
|
|
||||||
|
|
||||||
usb8xxx-objs := main.o fw.o wext.o \
|
usb8xxx-objs := main.o fw.o wext.o \
|
||||||
rx.o tx.o cmd.o \
|
rx.o tx.o cmd.o \
|
||||||
cmdresp.o scan.o \
|
cmdresp.o scan.o \
|
||||||
@@ -7,12 +5,6 @@ usb8xxx-objs := main.o fw.o wext.o \
|
|||||||
ioctl.o debugfs.o \
|
ioctl.o debugfs.o \
|
||||||
ethtool.o assoc.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_bootcmd.o
|
||||||
usb8xxx-objs += if_usb.o
|
usb8xxx-objs += if_usb.o
|
||||||
|
|
||||||
|
@@ -9,6 +9,11 @@
|
|||||||
|
|
||||||
extern unsigned int libertas_debug;
|
extern unsigned int libertas_debug;
|
||||||
|
|
||||||
|
#ifdef CONFIG_LIBERTAS_DEBUG
|
||||||
|
#define DEBUG
|
||||||
|
#define PROC_DEBUG
|
||||||
|
#endif
|
||||||
|
|
||||||
#define DRV_NAME "usb8xxx"
|
#define DRV_NAME "usb8xxx"
|
||||||
|
|
||||||
#define lbs_pr_info(format, args...) \
|
#define lbs_pr_info(format, args...) \
|
||||||
|
Reference in New Issue
Block a user