summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-ams-delta.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-08-25 15:59:15 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-08-25 16:25:34 -0700
commit86383b55791bd97e88ef493e33ef521ee244f3d9 (patch)
tree2881954f3230b9f613f0854c0e144053e86f0ba9 /drivers/leds/leds-ams-delta.c
parent15b1a8f2b990c0c1dacfad0e5ccaf05c32c52147 (diff)
downloadop-kernel-dev-86383b55791bd97e88ef493e33ef521ee244f3d9.zip
op-kernel-dev-86383b55791bd97e88ef493e33ef521ee244f3d9.tar.gz
leds: add missing include of linux/module.h
Add missing include of linux/module.h for drivers that use interfaces from linux/module.h. This patch fixes build errors. Signed-off-by: Axel Lin <axel.lin@gmail.com> Cc: Jonathan McDowell <noodles@earth.li> Acked-by: Kristoffer Ericson <kristoffer.ericson@gmail.com> Cc: Magnus Damm <damm@opensource.se> Cc: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/leds/leds-ams-delta.c')
-rw-r--r--drivers/leds/leds-ams-delta.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/leds/leds-ams-delta.c b/drivers/leds/leds-ams-delta.c
index b982603..8c00937 100644
--- a/drivers/leds/leds-ams-delta.c
+++ b/drivers/leds/leds-ams-delta.c
@@ -8,6 +8,7 @@
* published by the Free Software Foundation.
*/
+#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/platform_device.h>
OpenPOWER on IntegriCloud