qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH qom-next] arm_l2x0: Rename "type" property to "cache


From: Andreas Färber
Subject: [Qemu-devel] [PATCH qom-next] arm_l2x0: Rename "type" property to "cache-type"
Date: Thu, 7 Jun 2012 16:50:52 +0200

Resolves a name conflict with the qdev "type" property that is about to
be moved to Object.

Signed-off-by: Andreas Färber <address@hidden>
Acked-by: Mark Langsdorf <address@hidden>
---
 Going to insert this in the qom-next queue
 before 'qdev: Push "type" property up to Object'.

 hw/arm_l2x0.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hw/arm_l2x0.c b/hw/arm_l2x0.c
index 09f290c..de6a086 100644
--- a/hw/arm_l2x0.c
+++ b/hw/arm_l2x0.c
@@ -161,7 +161,7 @@ static int l2x0_priv_init(SysBusDevice *dev)
 }
 
 static Property l2x0_properties[] = {
-    DEFINE_PROP_UINT32("type", l2x0_state, cache_type, 0x1c100100),
+    DEFINE_PROP_UINT32("cache-type", l2x0_state, cache_type, 0x1c100100),
     DEFINE_PROP_END_OF_LIST(),
 };
 
-- 
1.7.7




reply via email to

[Prev in Thread] Current Thread [Next in Thread]