diff options
Diffstat (limited to 'lib/utils/serial/gaisler-uart.c')
-rw-r--r-- | lib/utils/serial/gaisler-uart.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/utils/serial/gaisler-uart.c b/lib/utils/serial/gaisler-uart.c index 49298e9..5f30ee4 100644 --- a/lib/utils/serial/gaisler-uart.c +++ b/lib/utils/serial/gaisler-uart.c @@ -29,7 +29,7 @@ /* clang-format on */ -static volatile void *uart_base; +static volatile char *uart_base; static u32 get_reg(u32 num) { @@ -67,7 +67,7 @@ int gaisler_uart_init(unsigned long base, u32 in_freq, u32 baudrate) { u32 ctrl; - uart_base = (volatile void *)base; + uart_base = (volatile char *)base; /* Configure baudrate */ if (in_freq) |