regulator: Fix implicit use of notifier.h by driver.h
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 17 Jul 2011 20:24:35 +0000 (16:24 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:32:16 +0000 (19:32 -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 12a1aa04b720cdb3491a2d35f32cb85a9bdcc6ff..52c89ae32f64c8829dd68162d65b3dc2ae135afd 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;