From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1khTSv-0001He-GJ for barebox@lists.infradead.org; Tue, 24 Nov 2020 08:14:22 +0000 From: Ahmad Fatoum Date: Tue, 24 Nov 2020 09:13:12 +0100 Message-Id: <20201124081310.10706-1-a.fatoum@pengutronix.de> In-Reply-To: <20201120140649.31607-2-a.fatoum@pengutronix.de> References: <20201120140649.31607-2-a.fatoum@pengutronix.de> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH] fixup! watchdog: implement watchdog_get_alias_id_from To: sha@pengutronix.de Cc: barebox@lists.infradead.org, Ahmad Fatoum Fix (benign) copy pasta from . Cc: barebox@lists.infradead.org Signed-off-by: Ahmad Fatoum --- 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