console: Make stdio_print_current_devices() static

As it is only called in common/console.c

Signed-off-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>  # qemu-x86_64
This commit is contained in:
Bin Meng
2023-08-02 16:32:02 +08:00
committed by Leo Yu-Chi Liang
parent 142276ce51
commit 75bfc6fac5
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -1010,7 +1010,7 @@ int console_init_f(void)
return 0;
}
void stdio_print_current_devices(void)
static void stdio_print_current_devices(void)
{
/* Print information */
puts("In: ");
-2
View File
@@ -84,8 +84,6 @@ int stdio_init_tables(void);
*/
int stdio_add_devices(void);
void stdio_print_current_devices(void);
/**
* stdio_deregister_dev() - deregister the device "devname".
*