usb: gadget: lpc32xx_udc: fix build error with debugfs enabled
authorAlexandre Pereira da Silva <aletes.xgr@gmail.com>
Wed, 20 Jun 2012 12:37:57 +0000 (09:37 -0300)
committerFelipe Balbi <balbi@ti.com>
Fri, 22 Jun 2012 10:15:40 +0000 (13:15 +0300)
If CONFIG_USB_GADGET_DEBUG_FILES is enabled, lpc32xx_udc breaks
compilation because of a missing include file.

Signed-off-by: Alexandre Pereira da Silva <aletes.xgr@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/lpc32xx_udc.c

index 262acfd..2ab0388 100644 (file)
@@ -61,6 +61,7 @@
 #include <mach/irqs.h>
 #include <mach/board.h>
 #ifdef CONFIG_USB_GADGET_DEBUG_FILES
+#include <linux/debugfs.h>
 #include <linux/seq_file.h>
 #endif