summary refs log tree commit diff stats
path: root/hw/char/shakti_uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/char/shakti_uart.c')
-rw-r--r--hw/char/shakti_uart.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/char/shakti_uart.c b/hw/char/shakti_uart.c
index 6870821325..98b142c7df 100644
--- a/hw/char/shakti_uart.c
+++ b/hw/char/shakti_uart.c
@@ -168,6 +168,7 @@ static void shakti_uart_class_init(ObjectClass *klass, void *data)
     dc->reset = shakti_uart_reset;
     dc->realize = shakti_uart_realize;
     device_class_set_props(dc, shakti_uart_properties);
+    set_bit(DEVICE_CATEGORY_INPUT, dc->categories);
 }
 
 static const TypeInfo shakti_uart_info = {