mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-25 16:12:05 +00:00
console: Set console device counter in console_devices_set()
console_devices_set() missed the console device counter to be set correctly.
Fixes: 45375adc97
("console: add function console_devices_set")
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
This commit is contained in:
parent
7b9ca3f89c
commit
20a7d35148
1 changed files with 1 additions and 0 deletions
|
@ -236,6 +236,7 @@ int cd_count[MAX_FILES];
|
|||
static void __maybe_unused console_devices_set(int file, struct stdio_dev *dev)
|
||||
{
|
||||
console_devices[file][0] = dev;
|
||||
cd_count[file] = 1;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue