summaryrefslogtreecommitdiff
path: root/include/drivers/console.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/drivers/console.h')
-rw-r--r--include/drivers/console.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/drivers/console.h b/include/drivers/console.h
index e2859092..f144ab99 100644
--- a/include/drivers/console.h
+++ b/include/drivers/console.h
@@ -31,7 +31,8 @@
#ifndef __CONSOLE_H__
#define __CONSOLE_H__
-void console_init(unsigned long base_addr);
+int console_init(unsigned long base_addr,
+ unsigned int uart_clk, unsigned int baud_rate);
int console_putc(int c);
int console_getc(void);