summaryrefslogtreecommitdiff
path: root/drivers/usb/musb
diff options
context:
space:
mode:
authorBob Liu <lliubbo@gmail.com>2011-08-05 09:33:05 (GMT)
committerFelipe Balbi <balbi@ti.com>2011-08-12 08:52:51 (GMT)
commitad50c1b20ff27780afbb8bcd3d153393d360419e (patch)
tree58294904c28aaf91f60cd75c8ef957f87556d1fc /drivers/usb/musb
parent240a16e2cd831cb25361b1d1797bd04e8faf8b4f (diff)
downloadlinux-ad50c1b20ff27780afbb8bcd3d153393d360419e.tar.xz
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/usb/musb')
-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 ae8c396..5e7cfba 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>