From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44667) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VP4v4-0001Zi-6E for qemu-devel@nongnu.org; Thu, 26 Sep 2013 02:19:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VP4uo-00084q-Tc for qemu-devel@nongnu.org; Thu, 26 Sep 2013 02:19:22 -0400 Received: from e23smtp05.au.ibm.com ([202.81.31.147]:53087) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VP4uo-00083m-33 for qemu-devel@nongnu.org; Thu, 26 Sep 2013 02:19:06 -0400 Received: from /spool/local by e23smtp05.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 26 Sep 2013 16:19:04 +1000 From: Alexey Kardashevskiy Date: Thu, 26 Sep 2013 16:18:41 +1000 Message-Id: <1380176328-21320-8-git-send-email-aik@ozlabs.ru> In-Reply-To: <1380176328-21320-1-git-send-email-aik@ozlabs.ru> References: <1380176328-21320-1-git-send-email-aik@ozlabs.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH v5 07/14] xics: add missing const specifiers to TypeInfo List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Alexey Kardashevskiy , qemu-ppc@nongnu.org, Alexander Graf , Anthony Liguori , David Gibson This adds missing const specifiers to ICS and ICP TypeInfo's. Signed-off-by: Alexey Kardashevskiy Reviewed-by: Andreas Färber --- hw/intc/xics.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/intc/xics.c b/hw/intc/xics.c index 76654db..c90eb0a 100644 --- a/hw/intc/xics.c +++ b/hw/intc/xics.c @@ -248,7 +248,7 @@ static void icp_class_init(ObjectClass *klass, void *data) dc->vmsd = &vmstate_icp_server; } -static TypeInfo icp_info = { +static const TypeInfo icp_info = { .name = TYPE_ICP, .parent = TYPE_DEVICE, .instance_size = sizeof(ICPState), @@ -503,7 +503,7 @@ static void ics_class_init(ObjectClass *klass, void *data) isc->post_load = ics_post_load; } -static TypeInfo ics_info = { +static const TypeInfo ics_info = { .name = TYPE_ICS, .parent = TYPE_DEVICE, .instance_size = sizeof(ICSState), -- 1.8.4.rc4