summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSteffen Trumtrar <s.trumtrar@pengutronix.de>2021-06-16 08:32:37 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2021-06-21 09:59:20 +0200
commitde2e6d29c2c0bba6d6b0a467ff22bbd34bf48f16 (patch)
treeddabd656d7fac52162c761f8701c8b45c25cb12c /include
parent30a5e60e7d23fba9c5c12ff93c022a6c236dd01f (diff)
downloadbarebox-de2e6d29c2c0bba6d6b0a467ff22bbd34bf48f16.tar.gz
barebox-de2e6d29c2c0bba6d6b0a467ff22bbd34bf48f16.tar.xz
reset: add of_reset_control_get to header
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Link: https://lore.barebox.org/20210616063246.14900-1-s.trumtrar@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/reset.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/reset.h b/include/linux/reset.h
index a166fe1cfe..726cb5c205 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);