diff options
Diffstat (limited to 'src/drivers/uart/uart8250io.c')
-rw-r--r-- | src/drivers/uart/uart8250io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/uart/uart8250io.c b/src/drivers/uart/uart8250io.c index f4f4d010a5..60a8d86361 100644 --- a/src/drivers/uart/uart8250io.c +++ b/src/drivers/uart/uart8250io.c @@ -105,7 +105,7 @@ static void uart8250_init(unsigned base_port, unsigned divisor) static const unsigned bases[] = { 0x3f8, 0x2f8, 0x3e8, 0x2e8 }; -unsigned int uart_platform_base(int idx) +uintptr_t uart_platform_base(int idx) { if (idx < ARRAY_SIZE(bases)) return bases[idx]; |