summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-da903x.c
diff options
context:
space:
mode:
authorEric Miao <eric.miao@marvell.com>2008-10-27 10:48:50 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-27 16:38:16 +0100
commitb9b54aa2a60dcd9c06b76f6610e1b466bc93e3cd (patch)
treef20b1815b392fb87f386ac406f777bb28c2e5fd8 /drivers/leds/leds-da903x.c
parentMerge branch 'for-linus' of git://neil.brown.name/md (diff)
downloadlinux-b9b54aa2a60dcd9c06b76f6610e1b466bc93e3cd.tar.xz
linux-b9b54aa2a60dcd9c06b76f6610e1b466bc93e3cd.zip
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 <khali@linux-fr.org> Signed-off-by: Eric Miao <eric.miao@marvell.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/leds/leds-da903x.c')
-rw-r--r--drivers/leds/leds-da903x.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/leds/leds-da903x.c b/drivers/leds/leds-da903x.c
index f1fddb18d70d..2768c69257f6 100644
--- a/drivers/leds/leds-da903x.c
+++ b/drivers/leds/leds-da903x.c
@@ -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