diff options
author | 2021-09-26 18:50:01 +0800 | |
---|---|---|
committer | 2021-10-07 08:41:33 +1000 | |
commit | 34229c46a721b2acf3cc1c1af3324f7468852330 (patch) | |
tree | 62d9af6be85c53f674cba9867f3acfb105247b32 | |
parent | target/riscv: Set mstatus_hs.[SD|FS] bits if Clean and V=1 in mark_fs_dirty() (diff) | |
download | qemu-34229c46a721b2acf3cc1c1af3324f7468852330.tar.xz qemu-34229c46a721b2acf3cc1c1af3324f7468852330.zip |
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>
-rw-r--r-- | hw/char/ibex_uart.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/char/ibex_uart.c b/hw/char/ibex_uart.c index 9b0a817713..e58181fcf4 100644 --- a/hw/char/ibex_uart.c +++ b/hw/char/ibex_uart.c @@ -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 = { |