From: Michael Grzeschik <m.grzeschik@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 3/4] regulator: pfuze: add include regmap.h so struct regmap is known
Date: Mon, 27 Jan 2020 16:50:12 +0100 [thread overview]
Message-ID: <20200127155013.4388-3-m.grzeschik@pengutronix.de> (raw)
In-Reply-To: <20200127155013.4388-1-m.grzeschik@pengutronix.de>
Without this the user of the function will get a compile warning
about the undeclared struct regmap.
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
---
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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2020-01-27 15:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-27 15:50 [PATCH 1/4] regulator: pfuze: remove unsued define Michael Grzeschik
2020-01-27 15:50 ` [PATCH 2/4] regulator: pfuze: add support to other architectures Michael Grzeschik
2020-01-28 8:45 ` Sascha Hauer
2020-01-29 22:19 ` Michael Grzeschik
2020-01-30 7:57 ` Sascha Hauer
2020-01-27 15:50 ` Michael Grzeschik [this message]
2020-01-27 15:50 ` [PATCH 4/4] ARM: phyCORE-i.MX8M SOM: add pmic initialisation for power good Michael Grzeschik
2020-01-28 8:48 ` Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200127155013.4388-3-m.grzeschik@pengutronix.de \
--to=m.grzeschik@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox