[RFC PATCH 1/4] reset: add of_reset_control_get to header
Steffen Trumtrar
s.trumtrar at pengutronix.de
Tue Aug 1 02:19:31 PDT 2017
Signed-off-by: Steffen Trumtrar <s.trumtrar at pengutronix.de>
---
include/linux/reset.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/linux/reset.h b/include/linux/reset.h
index be0d1bb5a621..c5660f798193 100644
--- a/include/linux/reset.h
+++ b/include/linux/reset.h
@@ -11,6 +11,8 @@ int reset_control_assert(struct reset_control *rstc);
int reset_control_deassert(struct reset_control *rstc);
struct reset_control *reset_control_get(struct device_d *dev, const char *id);
+struct reset_control *of_reset_control_get(struct device_node *node,
+ const char *id);
void reset_control_put(struct reset_control *rstc);
int __must_check device_reset(struct device_d *dev);
--
2.11.0
More information about the barebox
mailing list