Revert to the previous version where the return value of uart_getenv()
is being ignored. It's optional and the lack of environment variable is not an error condition.
This commit is contained in:
parent
3f6ea62ed6
commit
c118c8a64b
@ -80,5 +80,6 @@ uart_cpu_getdev(int devtype, struct uart_devinfo *di)
|
|||||||
uart_bus_space_io = &at91_bs_tag;
|
uart_bus_space_io = &at91_bs_tag;
|
||||||
uart_bus_space_mem = NULL;
|
uart_bus_space_mem = NULL;
|
||||||
/* Check the environment for overrides */
|
/* Check the environment for overrides */
|
||||||
return (uart_getenv(devtype, di, class));
|
uart_getenv(devtype, di, class);
|
||||||
|
return (0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user