virtio-input: make virtio devices follow usual naming convention
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
16c9d46d32
commit
e63d114b8a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user