Skip to content

Commit

Permalink
udlfb: include prefetch.h explicitly
Browse files Browse the repository at this point in the history
Commit e66eed6 ("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 <[email protected]>
Signed-off-by: Paul Mundt <[email protected]>
  • Loading branch information
sfrothwell authored and pmundt committed May 24, 2011
1 parent 08f3153 commit 12e572d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/video/udlfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 12e572d

Please sign in to comment.