[PATCH] fixup! watchdog: implement watchdog_get_alias_id_from
Ahmad Fatoum
a.fatoum at pengutronix.de
Tue Nov 24 03:13:12 EST 2020
Fix (benign) copy pasta from <of.h>.
Cc: barebox at lists.infradead.org
Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
drivers/of/base.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/of/base.c b/drivers/of/base.c
index 85a94f6ef159..acbae3d8c4bb 100644
--- a/drivers/of/base.c
+++ b/drivers/of/base.c
@@ -247,8 +247,8 @@ int of_alias_get_id(struct device_node *np, const char *stem)
}
EXPORT_SYMBOL_GPL(of_alias_get_id);
-extern int of_alias_get_id_from(struct device_node *root, struct device_node *np,
- const char *stem)
+int of_alias_get_id_from(struct device_node *root, struct device_node *np,
+ const char *stem)
{
struct device_node *aliasnp, *entrynp;
struct property *pp;
--
2.29.2
More information about the barebox
mailing list