OSDN Git Service

virtio-input: make virtio devices follow usual naming convention
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 2 Jun 2015 08:31:29 +0000 (10:31 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 2 Jun 2015 08:31:29 +0000 (10:31 +0200)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
include/hw/virtio/virtio-input.h

index bcee355..8134178 100644 (file)
@@ -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)