Skip to content
Commit 45375adc authored by Patrick Delaunay's avatar Patrick Delaunay Committed by Tom Rini
Browse files

console: add function console_devices_set



Add a new function to access to console_devices only defined if
CONFIG_IS_ENABLED(CONSOLE_MUX).

This path allows to remove #if CONFIG_IS_ENABLED(CONSOLE_MUX)
in console_getc function.

Signed-off-by: default avatarPatrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
Signed-off-by: default avatarPatrick Delaunay <patrick.delaunay@foss.st.com>
parent c04f8568
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment