[PATCH 3/4] regulator: pfuze: add include regmap.h so struct regmap is known

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Without this the user of the function will get a compile warning
about the undeclared struct regmap.

Signed-off-by: Michael Grzeschik <m.grzeschik@xxxxxxxxxxxxxx>
---
 include/mfd/pfuze.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/mfd/pfuze.h b/include/mfd/pfuze.h
index 6045ceec0a..5427b21005 100644
--- a/include/mfd/pfuze.h
+++ b/include/mfd/pfuze.h
@@ -1,6 +1,8 @@
 #ifndef __INCLUDE_PFUZE_H
 #define __INCLUDE_PFUZE_H
 
+#include <regmap.h>
+
 int pfuze_register_init_callback(void(*callback)(struct regmap *map));
 
 #endif /* __INCLUDE_PFUZE_H */
-- 
2.25.0


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux