mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] fixup! ARM: zii-imx8mq-dev: add DT fixups
@ 2019-12-19 11:06 Lucas Stach
  2019-12-20 15:17 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Lucas Stach @ 2019-12-19 11:06 UTC (permalink / raw)
  To: barebox

---
 arch/arm/boards/zii-imx8mq-dev/board.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boards/zii-imx8mq-dev/board.c b/arch/arm/boards/zii-imx8mq-dev/board.c
index 76d499a37094..ac455990b0dc 100644
--- a/arch/arm/boards/zii-imx8mq-dev/board.c
+++ b/arch/arm/boards/zii-imx8mq-dev/board.c
@@ -95,7 +95,7 @@ static int zii_imx8mq_dev_fixup_deb_internal(void)
 
 	of_property_write_string(aliases, "ethernet1", np->full_name);
 
-	dev = get_device_by_device_node(np);
+	dev = of_find_device_by_node(np);
 	if (!dev)
 		return -ENODEV;
 
-- 
2.20.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-12-20 15:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-19 11:06 [PATCH] fixup! ARM: zii-imx8mq-dev: add DT fixups Lucas Stach
2019-12-20 15:17 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox