2008-07-25 20:04:24

by Adrian Bunk

[permalink] [raw]
Subject: [2.6 patch] include/video/atmel_lcdc.h must #include <linux/workqueue.h>

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 <[email protected]>
Signed-off-by: Adrian Bunk <[email protected]>

---
1044a292a0de728d51b21a5b10cb459484d2a0aa
diff --git a/include/video/atmel_lcdc.h b/include/video/atmel_lcdc.h
index 1ccf462..613173b 100644
--- a/include/video/atmel_lcdc.h
+++ b/include/video/atmel_lcdc.h
@@ -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)


2008-07-26 16:52:34

by Haavard Skinnemoen

[permalink] [raw]
Subject: Re: [2.6 patch] include/video/atmel_lcdc.h must #include <linux/workqueue.h>

On Fri, 25 Jul 2008 23:03:48 +0300
Adrian Bunk <[email protected]> wrote:

> 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 <[email protected]>
> Signed-off-by: Adrian Bunk <[email protected]>

Applied to the avr32 tree. Thanks a lot!

Haavard