summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-07-17 22:24:35 +0200
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-11-01 00:32:16 +0100
commitced55d4ef7d6988bd0608423cf1e2225777f45cc (patch)
treeaf539adb4a8af0c993760d2ca32e3826bdac6867
parentregulator: Add module.h to drivers/regulator users as required (diff)
downloadlinux-ced55d4ef7d6988bd0608423cf1e2225777f45cc.tar.xz
linux-ced55d4ef7d6988bd0608423cf1e2225777f45cc.zip
regulator: Fix implicit use of notifier.h by driver.h
This was implicitly appearing by way of module.h -- but when we fix that, we'll get this: In file included from drivers/regulator/dummy.c:21: include/linux/regulator/driver.h:197: error: field 'notifier' has incomplete type make[3]: *** [drivers/regulator/dummy.o] Error 1 Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
-rw-r--r--include/linux/regulator/driver.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/regulator/driver.h b/include/linux/regulator/driver.h
index 12a1aa04b720..52c89ae32f64 100644
--- a/include/linux/regulator/driver.h
+++ b/include/linux/regulator/driver.h
@@ -16,6 +16,7 @@
#define __LINUX_REGULATOR_DRIVER_H_
#include <linux/device.h>
+#include <linux/notifier.h>
#include <linux/regulator/consumer.h>
struct regulator_dev;