--- 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@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox