summaryrefslogtreecommitdiffstats
path: root/drivers/regulator
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-10-11 14:59:13 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-10-11 14:59:13 +0200
commitecc37edf7b670616a9dc78a0bdd4911a22d551ec (patch)
treeede12f1b10289fd55e8bb6f9b23ce3e1e5ded5a3 /drivers/regulator
parentregulator: Add driver for gpio-controlled regulators (diff)
downloadlinux-ecc37edf7b670616a9dc78a0bdd4911a22d551ec.tar.xz
linux-ecc37edf7b670616a9dc78a0bdd4911a22d551ec.zip
regulator: Add module.h include to gpio-regulator
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/gpio-regulator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/gpio-regulator.c b/drivers/regulator/gpio-regulator.c
index abf32ad6f573..f0acf52498bd 100644
--- a/drivers/regulator/gpio-regulator.c
+++ b/drivers/regulator/gpio-regulator.c
@@ -24,6 +24,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/machine.h>