summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBob Liu <lliubbo@gmail.com>2011-08-05 11:33:05 +0200
committerFelipe Balbi <balbi@ti.com>2011-08-12 10:52:51 +0200
commitad50c1b20ff27780afbb8bcd3d153393d360419e (patch)
tree58294904c28aaf91f60cd75c8ef957f87556d1fc /drivers
parentusb: musb: tusb6010: fix compilation (diff)
downloadlinux-ad50c1b20ff27780afbb8bcd3d153393d360419e.tar.xz
linux-ad50c1b20ff27780afbb8bcd3d153393d360419e.zip
usb: musb: blackfin: include prefetch head file
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/blackfin.c: In function 'musb_write_fifo': drivers/usb/musb/blackfin.c:43: error: implicit declaration of function 'prefetch' Signed-off-by: Bob Liu <lliubbo@gmail.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/musb/blackfin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/musb/blackfin.c b/drivers/usb/musb/blackfin.c
index ae8c39617743..5e7cfba5b079 100644
--- a/drivers/usb/musb/blackfin.c
+++ b/drivers/usb/musb/blackfin.c
@@ -17,6 +17,7 @@
#include <linux/io.h>
#include <linux/platform_device.h>
#include <linux/dma-mapping.h>
+#include <linux/prefetch.h>
#include <asm/cacheflush.h>