diff options
author | Bob Liu <lliubbo@gmail.com> | 2011-08-05 17:33:05 +0800 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-08-12 11:52:51 +0300 |
commit | ad50c1b20ff27780afbb8bcd3d153393d360419e (patch) | |
tree | 58294904c28aaf91f60cd75c8ef957f87556d1fc /drivers/usb/musb/blackfin.c | |
parent | 240a16e2cd831cb25361b1d1797bd04e8faf8b4f (diff) | |
download | linux-ad50c1b20ff27780afbb8bcd3d153393d360419e.tar.bz2 |
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/blackfin.c')
-rw-r--r-- | drivers/usb/musb/blackfin.c | 1 |
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> |