summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/s3c-hsudc.c
diff options
context:
space:
mode:
authorBryan Wu <bryan.wu@canonical.com>2011-06-02 12:51:29 +0800
committerGreg Kroah-Hartman <gregkh@suse.de>2011-06-06 16:27:00 -0700
commitb38b03b363a53067e8b8f3f43f00b6428bd5319c (patch)
tree1c9fd605b6c71e35dc3fe32517a2ebc786fde648 /drivers/usb/gadget/s3c-hsudc.c
parent83a018045659ee2cc9b1390ddb8b2a247d269bc4 (diff)
downloadlinux-stable-b38b03b363a53067e8b8f3f43f00b6428bd5319c.tar.gz
linux-stable-b38b03b363a53067e8b8f3f43f00b6428bd5319c.tar.bz2
linux-stable-b38b03b363a53067e8b8f3f43f00b6428bd5319c.zip
usb: gadget: include <linux/prefetch.h> to fix compiling error
drivers/usb/gadget/at91_udc.c: In function 'write_fifo': drivers/usb/gadget/at91_udc.c:421:2: error: implicit declaration of function 'prefetch' make[3]: *** [drivers/usb/gadget/at91_udc.o] Error 1 make[2]: *** [drivers/usb/gadget] Error 2 make[2]: *** Waiting for unfinished jobs.... Signed-off-by: Bryan Wu <bryan.wu@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/s3c-hsudc.c')
-rw-r--r--drivers/usb/gadget/s3c-hsudc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/s3c-hsudc.c b/drivers/usb/gadget/s3c-hsudc.c
index cfe3cf56d6bd..9a1b966e18db 100644
--- a/drivers/usb/gadget/s3c-hsudc.c
+++ b/drivers/usb/gadget/s3c-hsudc.c
@@ -26,6 +26,7 @@
#include <linux/clk.h>
#include <linux/usb/ch9.h>
#include <linux/usb/gadget.h>
+#include <linux/prefetch.h>
#include <mach/regs-s3c2443-clock.h>
#include <plat/udc.h>