diff options
author | Subrata Banik <subratabanik@google.com> | 2022-01-01 20:37:19 +0000 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2022-01-03 15:06:52 +0000 |
commit | 627313081e74a3079ea02333f4a852a14cb3294d (patch) | |
tree | e5e2904ef647a04c9109d09ea7d7f96cee63755b /src/console | |
parent | 83ef7a647d7b8ca407c7df5428b7cff5387fb476 (diff) |
console: Make get_log_level a public function
Other drivers may need to know the coreboot log level hence,
export this function rather than marking it static.
Signed-off-by: Subrata Banik <subratabanik@google.com>
Change-Id: I56349f22c71c9db757b2be8eeb2dbfe959f80397
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60470
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/console')
-rw-r--r-- | src/console/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console/init.c b/src/console/init.c index 4427d681e2..eb6b637a6c 100644 --- a/src/console/init.c +++ b/src/console/init.c @@ -13,7 +13,7 @@ static int console_inited; static int console_loglevel; -static inline int get_log_level(void) +int get_log_level(void) { if (console_inited == 0) return -1; |