projects/linux·commit 86383b55

leds: add missing include of linux/module.h

86383b55 · Axel Lin <[email protected]> · 2011-08-25 15:59:15 -07:00

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 <[email protected]>
Cc: Jonathan McDowell <[email protected]>
Acked-by: Kristoffer Ericson <[email protected]>
Cc: Magnus Damm <[email protected]>
Cc: Richard Purdie <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
86383b55791bd97e88ef493e33ef521ee244f3d9
Parents
15b1a8f2

Changes

2 files changed · +2 −0

FileStatusAddDelContent
drivers/leds/leds-ams-delta.cmodified+1−0View file
drivers/leds/leds-hp6xx.cmodified+1−0View file

drivers/leds/leds-ams-delta.c

View file
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>

drivers/leds/leds-hp6xx.c

View file
diff --git a/drivers/leds/leds-hp6xx.c b/drivers/leds/leds-hp6xx.c
index e4ce1fd..bcfbd3a 100644
--- a/drivers/leds/leds-hp6xx.c
+++ b/drivers/leds/leds-hp6xx.c
@@ -10,6 +10,7 @@
* published by the Free Software Foundation.
*/
+#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/platform_device.h>