Skip to contentSkip to conversation

usb: gadget: lpc32xx_udc: fix build error with debugfs enabled

PATCH New Alexandre Pereira da Silva 1 participant 1 message Jun 20, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 usb: gadget: lpc32xx_udc: fix build error with debugfs enabled

If CONFIG_USB_GADGET_DEBUG_FILES is enabled, lpc32xx_udc breaks compilation because of a missing include file.

---
 drivers/usb/gadget/lpc32xx_udc.c |    1 +
 1 file changed, 1 insertion(+)
drivers/usb/gadget/lpc32xx_udc.c +1 -0
index d227d93..355bd66 100644
@@ -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
 
Signature · 1 line
1.7.10