Received: from eggs.gnu.org ([2001:4830:134:3::10]:51805) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCvjO-0004n6-1O for qemu-devel@nongnu.org; Mon, 10 Feb 2014 13:37:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WCvjB-0005sc-Vo for qemu-devel@nongnu.org; Mon, 10 Feb 2014 13:37:21 -0500 Received: from cantor2.suse.de ([195.135.220.15]:47162 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCvjB-0005qG-MI for qemu-devel@nongnu.org; Mon, 10 Feb 2014 13:37:09 -0500 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 662DFAC6E for ; Mon, 10 Feb 2014 18:37:09 +0000 (UTC) From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Mon, 10 Feb 2014 19:36:47 +0100 Message-Id: <1392057426-31990-31-git-send-email-afaerber@suse.de> In-Reply-To: <1392057426-31990-1-git-send-email-afaerber@suse.de> References: <1392057426-31990-1-git-send-email-afaerber@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PULL 30/48] ipack: QOM parent field cleanup for IPackBus List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Andreas=20F=C3=A4rber?= Clean up the only user of IPackBus::qbus field and rename it. Acked-by: Alberto Garcia Signed-off-by: Andreas F=C3=A4rber --- hw/char/ipack.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hw/char/ipack.h b/hw/char/ipack.h index b62066f..a386b88 100644 --- a/hw/char/ipack.h +++ b/hw/char/ipack.h @@ -19,7 +19,9 @@ typedef struct IPackBus IPackBus; #define IPACK_BUS(obj) OBJECT_CHECK(IPackBus, (obj), TYPE_IPACK_BUS) =20 struct IPackBus { - BusState qbus; + /*< private >*/ + BusState parent_obj; + /* All fields are private */ uint8_t n_slots; uint8_t free_slot; --=20 1.8.4.5