From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: sha@pengutronix.de
Cc: barebox@lists.infradead.org, Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH] fixup! watchdog: implement watchdog_get_alias_id_from
Date: Tue, 24 Nov 2020 09:13:12 +0100 [thread overview]
Message-ID: <20201124081310.10706-1-a.fatoum@pengutronix.de> (raw)
In-Reply-To: <20201120140649.31607-2-a.fatoum@pengutronix.de>
Fix (benign) copy pasta from <of.h>.
Cc: barebox@lists.infradead.org
Signed-off-by: Ahmad Fatoum <a.fatoum@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
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2020-11-24 8:14 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-20 14:06 [PATCH 1/2] " Ahmad Fatoum
2020-11-20 14:06 ` [PATCH 2/2] boot: introduce option to pass barebox-enabled watchdog to systemd Ahmad Fatoum
2020-11-24 8:13 ` Ahmad Fatoum [this message]
2020-11-24 8:23 ` Sascha Hauer
2020-11-24 8:26 ` Ahmad Fatoum
2020-11-24 8:28 ` Sascha Hauer
2020-11-24 8:08 ` [PATCH 1/2] watchdog: implement watchdog_get_alias_id_from 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=20201124081310.10706-1-a.fatoum@pengutronix.de \
--to=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=sha@pengutronix.de \
/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