Displaying 1 result from an estimated 1 matches for "dt_find_node_by_alias".
2013 Aug 29
2
Re: [PATCH V1 17/29] xen/arm: Mark each device used by Xen as disabled in DOM0 FDT
...;
> if ( !console_has("dtuart") || !strcmp(opt_dtuart, "") )
> @@ -53,12 +54,15 @@ void __init dt_uart_init(void)
> else
> options = "";
>
> - early_printk("Looking for UART console %s\n", devalias);
> - dev = dt_find_node_by_alias(devalias);
> + early_printk("Looking for UART console %s\n", devpath);
> + if ( *devpath == ''/'' )
> + dev = dt_find_node_by_path(devpath);
> + else
> + dev = dt_find_node_by_alias(devpath);
if ''/'' start an alias, it...