Skip to content

Commit 5515ff1

Browse files
lbmengalistair23
authored andcommitted
hw/char: shakti_uart: Register device in 'input' category
The category of shakti_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 34229c4 commit 5515ff1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hw/char/shakti_uart.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ static void shakti_uart_class_init(ObjectClass *klass, void *data)
168168
dc->reset = shakti_uart_reset;
169169
dc->realize = shakti_uart_realize;
170170
device_class_set_props(dc, shakti_uart_properties);
171+
set_bit(DEVICE_CATEGORY_INPUT, dc->categories);
171172
}
172173

173174
static const TypeInfo shakti_uart_info = {

0 commit comments

Comments
 (0)