summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/pch_udc.c
diff options
context:
space:
mode:
authorTomoya MORINAGA <tomoya.rohm@gmail.com>2012-03-06 03:49:04 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-03-06 16:00:14 +0100
commit30e9eb190f7930bf1edb0ec2d0ce10e300391abd (patch)
tree8a1021616bc6e7fc0835409b6c1e13b40b08f8b1 /drivers/usb/gadget/pch_udc.c
parentusb: otg: ab8500-usb: make probe() work again (diff)
downloadlinux-30e9eb190f7930bf1edb0ec2d0ce10e300391abd.tar.xz
linux-30e9eb190f7930bf1edb0ec2d0ce10e300391abd.zip
usb/gadget/pch_udc: Fix compile error
Greg's e-mail address was old. So, I resend it. Though I've tested this patch, http://marc.info/?l=linux-usb&m=132825305710285&w=2, I've received the following reports. http://kisskb.ellerman.id.au/kisskb/buildresult/5771890/ http://kisskb.ellerman.id.au/kisskb/buildresult/5771905/ So, I added header file for these symbols. Using this patch, this compile error must be disappeared. Reported-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Tomoya MORINAGA <tomoya.rohm@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/gadget/pch_udc.c')
-rw-r--r--drivers/usb/gadget/pch_udc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/pch_udc.c b/drivers/usb/gadget/pch_udc.c
index 350dbcd90681..65307064a6fd 100644
--- a/drivers/usb/gadget/pch_udc.c
+++ b/drivers/usb/gadget/pch_udc.c
@@ -16,6 +16,7 @@
#include <linux/usb/ch9.h>
#include <linux/usb/gadget.h>
#include <linux/gpio.h>
+#include <linux/irq.h>
/* GPIO port for VBUS detecting */
static int vbus_gpio_port = -1; /* GPIO port number (-1:Not used) */