From 34229c46a721b2acf3cc1c1af3324f7468852330 Mon Sep 17 00:00:00 2001 From: Bin Meng Date: Sun, 26 Sep 2021 18:50:01 +0800 Subject: hw/char: ibex_uart: Register device in 'input' category MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The category of ibex_uart device is not set. Put it into the 'input' category. Signed-off-by: Bin Meng Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Alistair Francis Message-id: 20210926105003.2716-1-bmeng.cn@gmail.com Signed-off-by: Alistair Francis --- hw/char/ibex_uart.c | 1 + 1 file changed, 1 insertion(+) (limited to 'hw/char') diff --git a/hw/char/ibex_uart.c b/hw/char/ibex_uart.c index 9b0a817..e58181f 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 = { -- cgit v1.1