On Mon, Dec 12, 2011 at 03:46:55PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@xxxxxxxxxxxx> > --- > arch/arm/mach-at91/include/mach/board.h | 10 + > drivers/usb/gadget/Kconfig | 7 + > drivers/usb/gadget/Makefile | 1 + > drivers/usb/gadget/at91_udc.c | 1513 +++++++++++++++++++++++++++++++ > drivers/usb/gadget/at91_udc.h | 167 ++++ > 5 files changed, 1698 insertions(+), 0 deletions(-) > create mode 100644 drivers/usb/gadget/at91_udc.c > create mode 100644 drivers/usb/gadget/at91_udc.h > [...] > + > +/*-------------------------------------------------------------------------*/ > + > +#ifdef VERBOSE_DEBUG > +# define VDBG DBG > +#else > +# define VDBG(stuff...) do{}while(0) > +#endif > + > +#ifdef PACKET_TRACE > +# define PACKET VDBG > +#else > +# define PACKET(stuff...) do{}while(0) > +#endif > + > +#define ERR(stuff...) pr_err("udc: " stuff) > +#define WARNING(stuff...) pr_warning("udc: " stuff) > +#define INFO(stuff...) pr_info("udc: " stuff) > +#define DBG(stuff...) pr_debug("udc: " stuff) Please convert to dev_* functions. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox