udlfb: include prefetch.h explicitly
authorStephen Rothwell <sfr@canb.auug.org.au>
Fri, 20 May 2011 06:29:01 +0000 (16:29 +1000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 24 May 2011 07:11:18 +0000 (16:11 +0900)
Commit e66eed651fd1 ("list: remove prefetching from
regular list iterators") removed the include of prefetch.h from list.h,
so we need to include it explicitly, now.

fixes this build error on powerpc:

drivers/video/udlfb.c: In function 'dlfb_compress_hline':
drivers/video/udlfb.c:421: error: implicit declaration of function 'prefetch_range'

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/udlfb.c

index 14b152a..52b0f3e 100644 (file)
@@ -29,6 +29,7 @@
 #include <linux/slab.h>
 #include <linux/prefetch.h>
 #include <linux/delay.h>
+#include <linux/prefetch.h>
 #include <video/udlfb.h>
 #include "edid.h"