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)
commitb9b54aa2a60dcd9c06b76f6610e1b466bc93e3cd
treef20b1815b392fb87f386ac406f777bb28c2e5fd8
parentf8d56f1771e4867acc461146764b4feeb5245669
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>
drivers/leds/leds-da903x.c