Skip to content

Commit

Permalink
usb: gadget: lpc32xx_udc: fix build error with debugfs enabled
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexandre Pereira da Silva authored and Felipe Balbi committed Jun 22, 2012
1 parent dc8738d commit d7dbdb5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/usb/gadget/lpc32xx_udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d7dbdb5

Please sign in to comment.