Skip to content

Commit

Permalink
leds: da903x: fix the building failure of incomplete type of 'work'
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Eric Miao authored and Linus Torvalds committed Oct 27, 2008
1 parent f8d56f1 commit b9b54aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/leds/leds-da903x.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b9b54aa

Please sign in to comment.