From patchwork Tue Jun 2 08:36:39 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerd Hoffmann X-Patchwork-Id: 479339 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 6B42D1412E0 for ; Tue, 2 Jun 2015 18:37:32 +1000 (AEST) Received: from localhost ([::1]:56743 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzhhS-000754-Iq for incoming@patchwork.ozlabs.org; Tue, 02 Jun 2015 04:37:30 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38895) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yzhgv-0006CY-Ru for qemu-devel@nongnu.org; Tue, 02 Jun 2015 04:36:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yzhgp-0006uf-Qb for qemu-devel@nongnu.org; Tue, 02 Jun 2015 04:36:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59016) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yzhgp-0006uZ-LJ for qemu-devel@nongnu.org; Tue, 02 Jun 2015 04:36:51 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id 508E2A0CCA for ; Tue, 2 Jun 2015 08:36:51 +0000 (UTC) Received: from nilsson.home.kraxel.org (ovpn-116-32.ams2.redhat.com [10.36.116.32]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t528anDO005777; Tue, 2 Jun 2015 04:36:50 -0400 Received: by nilsson.home.kraxel.org (Postfix, from userid 500) id 636E080E93; Tue, 2 Jun 2015 10:36:48 +0200 (CEST) From: Gerd Hoffmann To: qemu-devel@nongnu.org Date: Tue, 2 Jun 2015 10:36:39 +0200 Message-Id: <1433234200-19037-3-git-send-email-kraxel@redhat.com> In-Reply-To: <1433234200-19037-1-git-send-email-kraxel@redhat.com> References: <1433234200-19037-1-git-send-email-kraxel@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: Gerd Hoffmann Subject: [Qemu-devel] [PULL 2/2] virtio-input: make virtio devices follow usual naming convention X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Gerd Hoffmann --- include/hw/virtio/virtio-input.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/hw/virtio/virtio-input.h b/include/hw/virtio/virtio-input.h index bcee355..8134178 100644 --- a/include/hw/virtio/virtio-input.h +++ b/include/hw/virtio/virtio-input.h @@ -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)