Skip to content

Commit

Permalink
include/video/atmel_lcdc.h must #include <linux/workqueue.h>
Browse files Browse the repository at this point in the history
This patch fixes the following compile error caused by
commit d22579b
(atmel_lcdfb: FIFO underflow management):

<--  snip  -->

...
  CC      arch/avr32/boards/atstk1000/atstk1004.o
In file included from /home/bunk/linux/kernel-2.6/git/linux-2.6/arch/avr32/boards/atstk1000/atstk1004.c:21:
/home/bunk/linux/kernel-2.6/git/linux-2.6/include/video/atmel_lcdc.h:40: error: field 'task' has incomplete type
make[2]: *** [arch/avr32/boards/atstk1000/atstk1004.o] Error 1

<--  snip  -->

Reported-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
  • Loading branch information
Adrian Bunk authored and Haavard Skinnemoen committed Jul 26, 2008
1 parent 56d3eef commit 87a9f70
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/video/atmel_lcdc.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#ifndef __ATMEL_LCDC_H__
#define __ATMEL_LCDC_H__

#include <linux/workqueue.h>

/* Way LCD wires are connected to the chip:
* Some Atmel chips use BGR color mode (instead of standard RGB)
Expand Down

0 comments on commit 87a9f70

Please sign in to comment.