mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-09-06 18:05:37 +00:00
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 <bmeng.cn@gmail.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-id: 20210926105003.2716-1-bmeng.cn@gmail.com Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
This commit is contained in:
parent
a88f040239
commit
34229c46a7
|
@ -550,6 +550,7 @@ static void ibex_uart_class_init(ObjectClass *klass, void *data)
|
|||
dc->realize = ibex_uart_realize;
|
||||
dc->vmsd = &vmstate_ibex_uart;
|
||||
device_class_set_props(dc, ibex_uart_properties);
|
||||
set_bit(DEVICE_CATEGORY_INPUT, dc->categories);
|
||||
}
|
||||
|
||||
static const TypeInfo ibex_uart_info = {
|
||||
|
|
Loading…
Reference in a new issue