summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-07-17 16:24:35 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-10-31 19:32:16 -0400
commitced55d4ef7d6988bd0608423cf1e2225777f45cc (patch)
treeaf539adb4a8af0c993760d2ca32e3826bdac6867
parent65602c32ee9b5500e3cb617ccec2154ee2191898 (diff)
downloadop-kernel-dev-ced55d4ef7d6988bd0608423cf1e2225777f45cc.zip
op-kernel-dev-ced55d4ef7d6988bd0608423cf1e2225777f45cc.tar.gz
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 12a1aa0..52c89ae 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;
OpenPOWER on IntegriCloud