mirror of
https://github.com/mii443/qemu.git
synced 2025-12-16 17:18:49 +00:00
virtio-input: make virtio devices follow usual naming convention
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
@@ -40,10 +40,10 @@ typedef struct virtio_input_event virtio_input_event;
|
||||
#define VIRTIO_INPUT_CLASS(klass) \
|
||||
OBJECT_CLASS_CHECK(VirtIOInputClass, klass, TYPE_VIRTIO_INPUT)
|
||||
|
||||
#define TYPE_VIRTIO_INPUT_HID "virtio-input-hid"
|
||||
#define TYPE_VIRTIO_KEYBOARD "virtio-keyboard"
|
||||
#define TYPE_VIRTIO_MOUSE "virtio-mouse"
|
||||
#define TYPE_VIRTIO_TABLET "virtio-tablet"
|
||||
#define TYPE_VIRTIO_INPUT_HID "virtio-input-hid-device"
|
||||
#define TYPE_VIRTIO_KEYBOARD "virtio-keyboard-device"
|
||||
#define TYPE_VIRTIO_MOUSE "virtio-mouse-device"
|
||||
#define TYPE_VIRTIO_TABLET "virtio-tablet-device"
|
||||
|
||||
#define VIRTIO_INPUT_HID(obj) \
|
||||
OBJECT_CHECK(VirtIOInputHID, (obj), TYPE_VIRTIO_INPUT_HID)
|
||||
|
||||
Reference in New Issue
Block a user