[PATCH] fixup! watchdog: implement watchdog_get_alias_id_from

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fix (benign) copy pasta from <of.h>.

Cc: barebox@xxxxxxxxxxxxxxxxxxx
Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx>
---
 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@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux