summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/virtual.c
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-07-17 16:28:23 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-10-31 19:32:15 -0400
commit65602c32ee9b5500e3cb617ccec2154ee2191898 (patch)
tree4e9cebef34ffd6cc76d3cf67f8504eeeb2a2d4ea /drivers/regulator/virtual.c
parent22be053fffb0571095f4caadfd185bb44d91ecfa (diff)
downloadlinux-65602c32ee9b5500e3cb617ccec2154ee2191898.tar.gz
linux-65602c32ee9b5500e3cb617ccec2154ee2191898.tar.bz2
linux-65602c32ee9b5500e3cb617ccec2154ee2191898.zip
regulator: Add module.h to drivers/regulator users as required
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>
Diffstat (limited to 'drivers/regulator/virtual.c')
-rw-r--r--drivers/regulator/virtual.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/virtual.c b/drivers/regulator/virtual.c
index 69e550f57638..858c1f861ba5 100644
--- a/drivers/regulator/virtual.c
+++ b/drivers/regulator/virtual.c
@@ -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;