mptsas: change .realize function name
All the other devices` .realize function name are xxx_realize, except this one. cc: Michael S. Tsirkin <mst@redhat.com> cc: Marcel Apfelbaum <marcel@redhat.com> cc: Paolo Bonzini <pbonzini@redhat.com> cc: Markus Armbruster <armbru@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Marcel Apfelbaum <marcel@redhat.com> Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
		
							parent
							
								
									38e826de00
								
							
						
					
					
						commit
						afe4c95331
					
				| @ -1269,7 +1269,7 @@ static const struct SCSIBusInfo mptsas_scsi_info = { | ||||
|     .load_request = mptsas_load_request, | ||||
| }; | ||||
| 
 | ||||
| static void mptsas_scsi_init(PCIDevice *dev, Error **errp) | ||||
| static void mptsas_scsi_realize(PCIDevice *dev, Error **errp) | ||||
| { | ||||
|     DeviceState *d = DEVICE(dev); | ||||
|     MPTSASState *s = MPT_SAS(dev); | ||||
| @ -1426,7 +1426,7 @@ static void mptsas1068_class_init(ObjectClass *oc, void *data) | ||||
|     DeviceClass *dc = DEVICE_CLASS(oc); | ||||
|     PCIDeviceClass *pc = PCI_DEVICE_CLASS(oc); | ||||
| 
 | ||||
|     pc->realize = mptsas_scsi_init; | ||||
|     pc->realize = mptsas_scsi_realize; | ||||
|     pc->exit = mptsas_scsi_uninit; | ||||
|     pc->romfile = 0; | ||||
|     pc->vendor_id = PCI_VENDOR_ID_LSI_LOGIC; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Cao jin
						Cao jin