Diff for /qemu/hw/ssd0323.c between versions 1.1.1.6 and 1.1.1.7

version 1.1.1.6, 2018/04/24 19:01:59 version 1.1.1.7, 2018/04/24 19:50:32
Line 340  static int ssd0323_init(SSISlave *dev) Line 340  static int ssd0323_init(SSISlave *dev)
     return 0;      return 0;
 }  }
   
 static SSISlaveInfo ssd0323_info = {  static void ssd0323_class_init(ObjectClass *klass, void *data)
     .qdev.name = "ssd0323",  {
     .qdev.size = sizeof(ssd0323_state),      SSISlaveClass *k = SSI_SLAVE_CLASS(klass);
     .init = ssd0323_init,  
     .transfer = ssd0323_transfer      k->init = ssd0323_init;
       k->transfer = ssd0323_transfer;
   }
   
   static TypeInfo ssd0323_info = {
       .name          = "ssd0323",
       .parent        = TYPE_SSI_SLAVE,
       .instance_size = sizeof(ssd0323_state),
       .class_init    = ssd0323_class_init,
 };  };
   
 static void ssd03232_register_devices(void)  static void ssd03232_register_types(void)
 {  {
     ssi_register_slave(&ssd0323_info);      type_register_static(&ssd0323_info);
 }  }
   
 device_init(ssd03232_register_devices)  type_init(ssd03232_register_types)

Removed from v.1.1.1.6  
changed lines
  Added in v.1.1.1.7


unix.superglobalmegacorp.com