qdev/prop: convert integratorcp.c to helper macros.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Message-Id:
This commit is contained in:
		
							parent
							
								
									368eb5d488
								
							
						
					
					
						commit
						bb36f66a97
					
				| @ -526,12 +526,8 @@ static SysBusDeviceInfo core_info = { | ||||
|     .qdev.name  = "integrator_core", | ||||
|     .qdev.size  = sizeof(integratorcm_state), | ||||
|     .qdev.props = (Property[]) { | ||||
|         { | ||||
|             .name   = "memsz", | ||||
|             .info   = &qdev_prop_uint32, | ||||
|             .offset = offsetof(integratorcm_state, memsz), | ||||
|         }, | ||||
|         {/* end of list */} | ||||
|         DEFINE_PROP_UINT32("memsz", integratorcm_state, memsz, 0), | ||||
|         DEFINE_PROP_END_OF_LIST(), | ||||
|     } | ||||
| }; | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Gerd Hoffmann
						Gerd Hoffmann