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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/drivers/console.h b/include/drivers/console.h
index f144ab99..d374157b 100644
--- a/include/drivers/console.h
+++ b/include/drivers/console.h
@@ -31,7 +31,9 @@
#ifndef __CONSOLE_H__
#define __CONSOLE_H__
-int console_init(unsigned long base_addr,
+#include <stdint.h>
+
+int console_init(uintptr_t base_addr,
unsigned int uart_clk, unsigned int baud_rate);
int console_putc(int c);
int console_getc(void);