leds: da903x: fix the building failure of incomplete type of 'work'
authorEric Miao <eric.miao@marvell.com>
Mon, 27 Oct 2008 09:48:50 +0000 (17:48 +0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 27 Oct 2008 15:38:16 +0000 (08:38 -0700)
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 <khali@linux-fr.org>
Signed-off-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/leds/leds-da903x.c

index f1fddb18d70d0bf45c1f2ed07afd53d1d66d8527..2768c69257f645750adc49af10ac8f4f5c4f2b66 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/init.h>
 #include <linux/platform_device.h>
 #include <linux/leds.h>
+#include <linux/workqueue.h>
 #include <linux/mfd/da903x.h>
 
 #define DA9030_LED1_CONTROL    0x20