Skip to content

Commit 34229c4

Browse files
lbmengalistair23
authored andcommitted
hw/char: ibex_uart: Register device in 'input' category
The category of ibex_uart device is not set. Put it into the 'input' category. Signed-off-by: Bin Meng <[email protected]> Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Reviewed-by: Alistair Francis <[email protected]> Message-id: [email protected] Signed-off-by: Alistair Francis <[email protected]>
1 parent a88f040 commit 34229c4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hw/char/ibex_uart.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,7 @@ static void ibex_uart_class_init(ObjectClass *klass, void *data)
550550
dc->realize = ibex_uart_realize;
551551
dc->vmsd = &vmstate_ibex_uart;
552552
device_class_set_props(dc, ibex_uart_properties);
553+
set_bit(DEVICE_CATEGORY_INPUT, dc->categories);
553554
}
554555

555556
static const TypeInfo ibex_uart_info = {

0 commit comments

Comments
 (0)