Skip to contentSkip to conversation

arm_l2x0: Rename "type" property to "cache-type"

PATCH New Andreas Färber 1 participant 1 message Jun 7, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm_l2x0: Rename "type" property to "cache-type"

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

---
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(-)
hw/arm_l2x0.c +1 -1
index 09f290c..de6a086 100644
@@ -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(),
 };
 
Signature · 1 line
1.7.7