summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
authorAlexandre Pereira da Silva <aletes.xgr@gmail.com>2012-06-20 09:37:57 -0300
committerFelipe Balbi <balbi@ti.com>2012-06-22 13:15:40 +0300
commitd7dbdb5e5fe809aa3d4c33b33943c94321dfdd06 (patch)
treea97f30136c02b3f08d6678b355a13da85baf808f /drivers/usb/gadget
parentdc8738d95bb45d20b2141f1fe3e1cafb05be09f9 (diff)
downloadop-kernel-dev-d7dbdb5e5fe809aa3d4c33b33943c94321dfdd06.zip
op-kernel-dev-d7dbdb5e5fe809aa3d4c33b33943c94321dfdd06.tar.gz
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. Signed-off-by: Alexandre Pereira da Silva <aletes.xgr@gmail.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget')
-rw-r--r--drivers/usb/gadget/lpc32xx_udc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/lpc32xx_udc.c b/drivers/usb/gadget/lpc32xx_udc.c
index 262acfd..2ab0388 100644
--- a/drivers/usb/gadget/lpc32xx_udc.c
+++ b/drivers/usb/gadget/lpc32xx_udc.c
@@ -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
OpenPOWER on IntegriCloud