s390: Make typeinfo const
All TypeInfo definitions should be const. Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
		
							parent
							
								
									a5cf2bb4e3
								
							
						
					
					
						commit
						49973ebc03
					
				@ -159,7 +159,7 @@ static void s390_ipl_class_init(ObjectClass *klass, void *data)
 | 
			
		||||
    dc->no_user = 1;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static TypeInfo s390_ipl_info = {
 | 
			
		||||
static const TypeInfo s390_ipl_info = {
 | 
			
		||||
    .class_init = s390_ipl_class_init,
 | 
			
		||||
    .parent = TYPE_SYS_BUS_DEVICE,
 | 
			
		||||
    .name  = "s390-ipl",
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user