From: Eric Miao Date: Mon, 27 Oct 2008 09:48:50 +0000 (+0800) Subject: leds: da903x: fix the building failure of incomplete type of 'work' X-Git-Tag: v2.6.28-rc3~101 X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=b9b54aa2a60dcd9c06b76f6610e1b466bc93e3cd;p=linux-2.6-omap-h63xx.git leds: da903x: fix the building failure of incomplete type of 'work' The leds-da903x LED driver was missing the proper #include of linux/workqueue.h, but happened to compile on ARM due to implied includes through other header files. We do need the explict include on other architectures (reported at least for x86-64). Reported-tested-and-acked-by: Jean Delvare Signed-off-by: Eric Miao Signed-off-by: Linus Torvalds --- diff --git a/drivers/leds/leds-da903x.c b/drivers/leds/leds-da903x.c index f1fddb18d70..2768c69257f 100644 --- a/drivers/leds/leds-da903x.c +++ b/drivers/leds/leds-da903x.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #define DA9030_LED1_CONTROL 0x20