]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
regulator/driver.h: Fix implicit use of notifier.h
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 17 Jul 2011 20:24:35 +0000 (16:24 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 31 Jul 2011 08:06:20 +0000 (04:06 -0400)
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>
include/linux/regulator/driver.h

index 6c433b89c80d617da2902caeffa74280fdaa9efd..e17def9120b11ee76fe2f3a579a305d82bd39992 100644 (file)
@@ -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;