]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
USB: usb gadget stack can now -DDEBUG with Kconfig
authorDavid Brownell <david-b@pacbell.net>
Mon, 2 Jul 2007 00:35:28 +0000 (17:35 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 12 Jul 2007 23:34:42 +0000 (16:34 -0700)
commit70790f6339a868e2a0d643f44899418f64a95943
tree406a1259b869b0b157a65e89e963afd0f20d1644
parentc67ab134ba9f83f9de86e58adfeaa14a9efa6e00
USB: usb gadget stack can now -DDEBUG with Kconfig

Although the other USB driver directories got taught how use Kconfig
and the Makefile to enable the debugging messages enabled by -DDEBUG,
the gadget stack was overlooked.

This patch remedies that omission, but doesn't update any drivers to
remove previous idiosyncracies in this area ... other than the RNDIS
code, which defined its own DEBUG() macro in a broken way.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/Kconfig
drivers/usb/gadget/Makefile
drivers/usb/gadget/rndis.c