Skip to content

Commit e54cab6

Browse files
author
Andre Beckus
committed
Remove SYSBUS reference - this was missed in an earlier commit
1 parent 8474869 commit e54cab6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hw/char/stm32_uart.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ static void stm32_uart_USART_CR3_write(Stm32Uart *s, uint32_t new_value,
605605

606606
static void stm32_uart_reset(DeviceState *dev)
607607
{
608-
Stm32Uart *s = FROM_SYSBUS(Stm32Uart, SYS_BUS_DEVICE(dev));
608+
Stm32Uart *s = STM32_UART(dev);
609609

610610
/* Initialize the status registers. These are mostly
611611
* read-only, so we do not call the "write" routine

0 commit comments

Comments
 (0)