]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit84fb2d3300c5d945081a854cce54cf0e5cf45062
treef20b1815b392fb87f386ac406f777bb28c2e5fd8
parentae476cb42fea6d82bfd52c92c790db6aa2890a2d
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