summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2011-05-20 16:29:01 +1000
committerPaul Mundt <lethal@linux-sh.org>2011-05-24 16:11:18 +0900
commit12e572d90c0868be9d3158325da7ccd5cb91c2cd (patch)
treeff98c43cc5054c2edcd3184f5cbbc2ecc7566025 /drivers/video
parent08f3153861e3ce8ff28fa82efe50cfb744afee7e (diff)
udlfb: include prefetch.h explicitly
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>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/udlfb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/udlfb.c b/drivers/video/udlfb.c
index 14b152a99d13..52b0f3e8ccac 100644
--- a/drivers/video/udlfb.c
+++ b/drivers/video/udlfb.c
@@ -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"