]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
include/video/atmel_lcdc.h must #include <linux/workqueue.h>
authorAdrian Bunk <bunk@kernel.org>
Fri, 25 Jul 2008 20:03:48 +0000 (23:03 +0300)
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Sat, 26 Jul 2008 16:40:05 +0000 (18:40 +0200)
This patch fixes the following compile error caused by
commit d22579b837358cbef12ccca5adaf7e93ae09ab7a
(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>
include/video/atmel_lcdc.h

index ed64862c4e18c13eaf5060679f42e5ec8f25556f..dc934e8edc4f37ce412a101ad670353d48de30f9 100644 (file)
@@ -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)