]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
regulator: Add module.h to drivers/regulator users as required
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 17 Jul 2011 20:28:23 +0000 (16:28 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 31 Jul 2011 08:06:20 +0000 (04:06 -0400)
Another group of drivers that are taking advantage of the implicit
presence of module.h -- and will break when we pull the carpet out
from under them during a cleanup.  Fix 'em now.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
16 files changed:
drivers/regulator/88pm8607.c
drivers/regulator/ab8500.c
drivers/regulator/bq24022.c
drivers/regulator/da903x.c
drivers/regulator/fixed.c
drivers/regulator/lp3971.c
drivers/regulator/lp3972.c
drivers/regulator/max8925-regulator.c
drivers/regulator/max8997.c
drivers/regulator/mc13783-regulator.c
drivers/regulator/mc13892-regulator.c
drivers/regulator/mc13xxx-regulator-core.c
drivers/regulator/tps6586x-regulator.c
drivers/regulator/userspace-consumer.c
drivers/regulator/virtual.c
drivers/regulator/wm8400-regulator.c

index d63fddb0fbb0d5ead8cadb323bfbff49b2a3e00f..5dcdb0f3db7e908821745dff7ebcf3d8ca353f9d 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/regulator/driver.h>
 #include <linux/regulator/machine.h>
 #include <linux/mfd/88pm860x.h>
+#include <linux/module.h>
 
 struct pm8607_regulator_info {
        struct regulator_desc   desc;
index 02f3c2333c8374d81f3bec3a1e2fb714f4c71095..6e1ae69646b396778660a8d3cf665f40e0d8e07e 100644 (file)
@@ -13,6 +13,7 @@
  */
 #include <linux/init.h>
 #include <linux/kernel.h>
+#include <linux/module.h>
 #include <linux/err.h>
 #include <linux/platform_device.h>
 #include <linux/mfd/ab8500.h>
index 068d488a4f714a310528a5e1dcc1b9016cc59caa..e24d1b7d97a84c4f5ded6aaf672ba3f317be838c 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/init.h>
 #include <linux/platform_device.h>
 #include <linux/err.h>
+#include <linux/module.h>
 #include <linux/gpio.h>
 #include <linux/regulator/bq24022.h>
 #include <linux/regulator/driver.h>
index 362e08221085825ddb2e01d8a9a9283729a86c78..e23ddfa8b2c6d2f2241e6813e2d6ff660dfeff02 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/kernel.h>
 #include <linux/init.h>
 #include <linux/err.h>
+#include <linux/module.h>
 #include <linux/platform_device.h>
 #include <linux/regulator/driver.h>
 #include <linux/regulator/machine.h>
index 2fe9d99c9f23107366ab8d485831bd65bce0663f..21ecf212a5227643abcad804c855f699be32f338 100644 (file)
@@ -20,6 +20,7 @@
 
 #include <linux/err.h>
 #include <linux/mutex.h>
+#include <linux/module.h>
 #include <linux/platform_device.h>
 #include <linux/regulator/driver.h>
 #include <linux/regulator/fixed.h>
index 0f22ef12601c2204170edb3d00eb38c0319e0976..72b16b5f3db6fca2f7a2ded2ce55344256ba327f 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/err.h>
 #include <linux/i2c.h>
 #include <linux/kernel.h>
+#include <linux/module.h>
 #include <linux/regulator/driver.h>
 #include <linux/regulator/lp3971.h>
 #include <linux/slab.h>
index 6aa1b506fb5dd0f2c508bfa7bc9ce0413ea0261f..fbc5e3741befffc8dbd097e0653881ff3c149459 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/bug.h>
 #include <linux/err.h>
 #include <linux/i2c.h>
+#include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/regulator/driver.h>
 #include <linux/regulator/lp3972.h>
index e4dbd667c043577b2cfe250df38fbbdcf3869eb1..cc9ec0e0327183bb58aa81a69343905e2765db02 100644 (file)
@@ -9,6 +9,7 @@
  * published by the Free Software Foundation.
  */
 #include <linux/kernel.h>
+#include <linux/module.h>
 #include <linux/init.h>
 #include <linux/err.h>
 #include <linux/i2c.h>
index ad6628ca94f41378bdddbe11f1286d54a64f4fd0..6176129a27e531e20c8921537798648c723f78ec 100644 (file)
@@ -26,6 +26,7 @@
 #include <linux/err.h>
 #include <linux/gpio.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 #include <linux/platform_device.h>
 #include <linux/regulator/driver.h>
 #include <linux/regulator/machine.h>
index 730f43ad415b11fb83803f84577eb1e5d7c4c738..8914a1e78b06b5e82044affb5ce0a1eb9c9a34d0 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/slab.h>
 #include <linux/init.h>
 #include <linux/err.h>
+#include <linux/module.h>
 #include "mc13xxx.h"
 
 #define MC13783_REG_SWITCHERS5                 29
index 3285d41842f281d4433cbab2e5752d5b50c1632c..023d17d022cf7ba329068b61a7d3b69695c44a82 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/slab.h>
 #include <linux/init.h>
 #include <linux/err.h>
+#include <linux/module.h>
 #include "mc13xxx.h"
 
 #define MC13892_REVISION                       7
index bc27ab1363784db2788dc6e158a6c68f63b9362c..6532853a6ef5e2e92beb3174c13f1b430e071dc5 100644 (file)
@@ -23,6 +23,7 @@
 #include <linux/slab.h>
 #include <linux/init.h>
 #include <linux/err.h>
+#include <linux/module.h>
 #include "mc13xxx.h"
 
 static int mc13xxx_regulator_enable(struct regulator_dev *rdev)
index bb04a75a4c98818665a9e44e077d229b27147d79..0d0797a3e3d8fda047fd81b4862f2bfa1bbb968e 100644 (file)
@@ -14,6 +14,7 @@
  */
 
 #include <linux/kernel.h>
+#include <linux/module.h>
 #include <linux/init.h>
 #include <linux/err.h>
 #include <linux/slab.h>
index 9d5ba93575975f22e8d00a620613cc1848ffb8fe..fc66551469996a6fa05775fa1d1d1decbae38f8a 100644 (file)
@@ -18,6 +18,7 @@
 
 #include <linux/err.h>
 #include <linux/mutex.h>
+#include <linux/module.h>
 #include <linux/platform_device.h>
 #include <linux/regulator/consumer.h>
 #include <linux/regulator/userspace-consumer.h>
index 69e550f57638cbde4ebde30990318cb21816ad0a..858c1f861ba596d134c253d74ba7d06d330ea0ff 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/platform_device.h>
 #include <linux/regulator/consumer.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 
 struct virtual_consumer_data {
        struct mutex lock;
index 0f12c70bebc9cd49ec51dc5f6e64997e0366aaff..71632ddc37813a2cd3ba4b9a107781456335ae81 100644 (file)
@@ -15,6 +15,7 @@
 #include <linux/bug.h>
 #include <linux/err.h>
 #include <linux/kernel.h>
+#include <linux/module.h>
 #include <linux/regulator/driver.h>
 #include <linux/mfd/wm8400-private.h>