[PATCH] USB: move CONFIG_USB_DEBUG checks into the Makefile
This lets us remove a lot of code in the drivers that were all checking the same thing. It also found some bugs in a few of the drivers, which has been fixed up. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Цей коміт міститься в:

зафіксовано
Linus Torvalds

джерело
87cf203935
коміт
654f31189e
@@ -27,14 +27,9 @@
|
||||
#include <linux/config.h>
|
||||
|
||||
/*
|
||||
#define DEBUG
|
||||
#define VERBOSE_DEBUG
|
||||
*/
|
||||
|
||||
#if !defined (DEBUG) && defined (CONFIG_USB_DEBUG)
|
||||
# define DEBUG
|
||||
#endif
|
||||
|
||||
#include <asm/semaphore.h>
|
||||
#include <linux/atm.h>
|
||||
#include <linux/atmdev.h>
|
||||
|
Посилання в новій задачі
Заблокувати користувача