Jelajahi Sumber

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>
Paul Gortmaker 14 tahun lalu
induk
melakukan
ced55d4ef7
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      include/linux/regulator/driver.h

+ 1 - 0
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;