macio-ide: add to storage category
macio-ide is an IDE controller, so add it to the storage category. Signed-off-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: John Snow <jsnow@redhat.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
		
							parent
							
								
									599d7326c3
								
							
						
					
					
						commit
						3469d9bce8
					
				@ -590,6 +590,7 @@ static void macio_ide_class_init(ObjectClass *oc, void *data)
 | 
				
			|||||||
    dc->realize = macio_ide_realizefn;
 | 
					    dc->realize = macio_ide_realizefn;
 | 
				
			||||||
    dc->reset = macio_ide_reset;
 | 
					    dc->reset = macio_ide_reset;
 | 
				
			||||||
    dc->vmsd = &vmstate_pmac;
 | 
					    dc->vmsd = &vmstate_pmac;
 | 
				
			||||||
 | 
					    set_bit(DEVICE_CATEGORY_STORAGE, dc->categories);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static const TypeInfo macio_ide_type_info = {
 | 
					static const TypeInfo macio_ide_type_info = {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user