]> git.baikalelectronics.ru Git - kernel.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)
commit6181975e3145c61dd01bbd03855b8c0728824987
tree406a1259b869b0b157a65e89e963afd0f20d1644
parent5ef43f833d883f75088a9c7ea9886ba6c50f796a
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