From 8fb36c07ac4eb34da61894bba260ab57c4b7f9db Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Fri, 1 May 2015 16:48:54 -0500 Subject: console: rename do_vtxprintf to do_printk_va_list and use it The name is more consistent with what we have elsewhere, and the callsite didn't build at all (with vboot enabled) Change-Id: I3576f3b8f737d360f68b67b6ce1683199948776d Signed-off-by: Aaron Durbin Signed-off-by: Patrick Georgi Reviewed-on: http://review.coreboot.org/10096 Tested-by: build bot (Jenkins) --- src/console/printk.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/console') diff --git a/src/console/printk.c b/src/console/printk.c index 10a7da21f3..aab7ff5f67 100644 --- a/src/console/printk.c +++ b/src/console/printk.c @@ -54,8 +54,10 @@ int do_printk(int msg_level, const char *fmt, ...) } #if IS_ENABLED (CONFIG_CHROMEOS) -void do_vtxprintf(const char *fmt, va_list args) +void do_printk_va_list(int msg_level, const char *fmt, va_list args) { + if (!console_log_level(msg_level)) + return; vtxprintf(wrap_putchar, fmt, args, NULL); console_tx_flush(); } -- cgit v1.2.3