hw/display/sm501: Fix comment in sm501_sysbus_class_init()
The "cannot_instantiate_with_device_add_yet" flag has been renamed to "user_creatable" a while ago. Signed-off-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
		
							parent
							
								
									e4f0c6bb1a
								
							
						
					
					
						commit
						79b217dedb
					
				@ -1758,7 +1758,7 @@ static void sm501_sysbus_class_init(ObjectClass *klass, void *data)
 | 
			
		||||
    dc->reset = sm501_reset_sysbus;
 | 
			
		||||
    dc->vmsd = &vmstate_sm501_sysbus;
 | 
			
		||||
    /* Note: pointer property "chr-state" may remain null, thus
 | 
			
		||||
     * no need for dc->cannot_instantiate_with_device_add_yet = true;
 | 
			
		||||
     * no need for dc->user_creatable = false;
 | 
			
		||||
     */
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user