]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
drivers/leds: Add module.h to files using it implicitly
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 3 Jul 2011 17:56:03 +0000 (13:56 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:31:49 +0000 (19:31 -0400)
A pending cleanup will mean that module.h won't be implicitly
everywhere anymore.  Make sure the modular drivers in the leds
dir are actually calling out for <module.h> explicitly in advance.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
16 files changed:
drivers/leds/dell-led.c
drivers/leds/leds-88pm860x.c
drivers/leds/leds-asic3.c
drivers/leds/leds-atmel-pwm.c
drivers/leds/leds-fsg.c
drivers/leds/leds-gpio.c
drivers/leds/leds-lm3530.c
drivers/leds/leds-locomo.c
drivers/leds/leds-lt3593.c
drivers/leds/leds-net48xx.c
drivers/leds/leds-net5501.c
drivers/leds/leds-ns2.c
drivers/leds/leds-s3c24xx.c
drivers/leds/leds-wm831x-status.c
drivers/leds/leds-wm8350.c
drivers/leds/leds-wrap.c

index 52590296af33e4a3f3af3b5de975741c3ffb1fc4..e5c57389efd63680af4b028910f8152667844692 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/acpi.h>
 #include <linux/leds.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 
 MODULE_AUTHOR("Louis Davis/Jim Dailey");
 MODULE_DESCRIPTION("Dell LED Control Driver");
index 0d4c16678ace37a2030f68d141bdf19cfc50d3b3..0810604dc701307973f2967b8fd578f5a9bee997 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/slab.h>
 #include <linux/workqueue.h>
 #include <linux/mfd/88pm860x.h>
+#include <linux/module.h>
 
 #define LED_PWM_SHIFT          (3)
 #define LED_PWM_MASK           (0x1F)
index 22f847c890c9bfc23fb5a2f5d7b7658d5551773e..d55c9257f6bd6f0d7604b5ce2c2639a8e42a1c7e 100644 (file)
@@ -14,6 +14,7 @@
 
 #include <linux/mfd/asic3.h>
 #include <linux/mfd/core.h>
+#include <linux/module.h>
 
 /*
  *     The HTC ASIC3 LED GPIOs are inputs, not outputs.
index c941d906bba6e585f750616480ad1cccdcf3b4b9..109c875ea233486fc191a33b938f06f719ad1eaa 100644 (file)
@@ -4,6 +4,7 @@
 #include <linux/io.h>
 #include <linux/atmel_pwm.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 
 
 struct pwmled {
index d11d05be0dee3712132a70b50b0a77211aff23b6..49aceffaa5b6b76d0fb4b5fc8e14d6b90012f7fa 100644 (file)
@@ -19,6 +19,7 @@
 #include <linux/init.h>
 #include <linux/platform_device.h>
 #include <linux/leds.h>
+#include <linux/module.h>
 #include <mach/hardware.h>
 #include <asm/io.h>
 
index 3d8bc327a68d215dcd17694b71f7397692818c4f..2ba756b035de152408d7b0c037271cc6fc5fa223 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/of_gpio.h>
 #include <linux/slab.h>
 #include <linux/workqueue.h>
+#include <linux/module.h>
 
 #include <asm/gpio.h>
 
index 3dd7090a9a9b1f59c922b1e31c271d8581e38f0c..a3521daf83a48d871342bd6526b8d8cce0edd44c 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/led-lm3530.h>
 #include <linux/types.h>
 #include <linux/regulator/consumer.h>
+#include <linux/module.h>
 
 #define LM3530_LED_DEV "lcd-backlight"
 #define LM3530_NAME "lm3530-led"
index 1f7c10f6b7f228daf883c1e4dc20a1753b6de0e4..80ba048889d61faa76195805cd622b1dada80d02 100644 (file)
@@ -10,6 +10,7 @@
 
 #include <linux/kernel.h>
 #include <linux/init.h>
+#include <linux/module.h>
 #include <linux/device.h>
 #include <linux/leds.h>
 
index 2579678f97a6c8e02ca897c363e1b1d107d67715..53f67b8ce55db505bd4ae5127423202e9141bca3 100644 (file)
@@ -24,6 +24,7 @@
 #include <linux/delay.h>
 #include <linux/gpio.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 
 struct lt3593_led_data {
        struct led_classdev cdev;
index 93987a12da494594881dde8c375d94a246cd2254..f117f7326c5b632a356b37661775dc1e96f6a101 100644 (file)
@@ -18,6 +18,7 @@
 #include <asm/io.h>
 #include <linux/nsc_gpio.h>
 #include <linux/scx200_gpio.h>
+#include <linux/module.h>
 
 #define DRVNAME "net48xx-led"
 #define NET48XX_ERROR_LED_GPIO 20
index 7e764b8365e60c58e7357da121ae0abbacee1029..0555d4709a7ca413ac31e576eaa520a537f18fe9 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/leds.h>
 #include <linux/platform_device.h>
 #include <linux/gpio.h>
+#include <linux/module.h>
 
 #include <asm/geode.h>
 
index f77d48d0b3e484bea2d48fd76568f4aa42cce445..37b7d0cfe5867e91ed0c1aa94039dc4985dc79f7 100644 (file)
@@ -28,6 +28,7 @@
 #include <linux/slab.h>
 #include <linux/gpio.h>
 #include <linux/leds.h>
+#include <linux/module.h>
 #include <mach/leds-ns2.h>
 
 /*
index a77771dc2e9542fca0bf77cfa5a1466f71fa2e47..29f8b0f0e2c6f880429aea67bcddee59f52f6b91 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/leds.h>
 #include <linux/gpio.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 
 #include <mach/hardware.h>
 #include <mach/regs-gpio.h>
index ef5c24140a44deb5890a1620d66e89b071963993..b1eb34c3e81f41d5eafdd00ed112373a5f25c970 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/mfd/wm831x/core.h>
 #include <linux/mfd/wm831x/pdata.h>
 #include <linux/mfd/wm831x/status.h>
+#include <linux/module.h>
 
 
 struct wm831x_status {
index f14edd82cb004475e67fe493f71ee269ee9cd0c7..4a1276578352283544ceb6fda2ff176d0772d887 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/mfd/wm8350/pmic.h>
 #include <linux/regulator/consumer.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 
 /* Microamps */
 static const int isink_cur[] = {
index 2982c86ac4cffb9e93da0a252b232a573c02ac22..6e21e654bb0281ba9e0bca0b5c62731c25c1a8fb 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/err.h>
 #include <asm/io.h>
 #include <linux/scx200_gpio.h>
+#include <linux/module.h>
 
 #define DRVNAME "wrap-led"
 #define WRAP_POWER_LED_GPIO    2