summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-05-25 14:13:24 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2011-06-07 01:02:31 +0200
commit9303961f5b8c8da0b65b897fb6521d2a123ec8a8 (patch)
treee0b70434d5f7e417bf026d2d3982eb579209487d /drivers/usb
parentUSB: cdc-acm: Adding second ACM channel support for Nokia E7 and C7 (diff)
downloadlinux-9303961f5b8c8da0b65b897fb6521d2a123ec8a8.tar.xz
linux-9303961f5b8c8da0b65b897fb6521d2a123ec8a8.zip
musb: fix prefetch build failure
After the prefetch/list.h restructure, drivers need to explicitly include linux/prefetch.h in order to use the prefetch() function. Otherwise, the current driver fails to build: drivers/usb/musb/musb_core.c: In function 'musb_write_fifo': drivers/usb/musb/musb_core.c:219: error: implicit declaration of function 'prefetch' make[3]: *** [drivers/usb/musb/musb_core.o] Error 1 Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/musb/musb_core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
index ab8e1001e5e2..c71b0372786e 100644
--- a/drivers/usb/musb/musb_core.c
+++ b/drivers/usb/musb/musb_core.c
@@ -96,6 +96,7 @@
#include <linux/init.h>
#include <linux/list.h>
#include <linux/kobject.h>
+#include <linux/prefetch.h>
#include <linux/platform_device.h>
#include <linux/io.h>