]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
console: Make stdio_print_current_devices() static
authorBin Meng <bmeng@tinylab.org>
Sun, 23 Jul 2023 04:40:35 +0000 (12:40 +0800)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Wed, 2 Aug 2023 08:32:02 +0000 (16:32 +0800)
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
common/console.c
include/stdio_dev.h

index 71ad8efd6f49ff4c72ad158f070a653ed6870517..d0640ba05a9ce4d1d217cd73744ede0bf8ac44ec 100644 (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:    ");
index 77bf8a8970f8b183fc15d35f3453f4603caecf47..7f1810205242ccb3b3a90d64da4542204f3ed045 100644 (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".
  *