]> git.proxmox.com Git - qemu.git/blobdiff - hw/smbus.c
qdev: register all types natively through QEMU Object Model
[qemu.git] / hw / smbus.c
index ed31a5961b0138b373296a1b17e8efe3b665f34e..77626f36456e92a856c76d2d290ce47342090e3a 100644 (file)
@@ -207,12 +207,6 @@ static int smbus_device_init(I2CSlave *i2c)
     return sc->init(dev);
 }
 
-void smbus_register_device(DeviceInfo *info)
-{
-    assert(info->size >= sizeof(SMBusDevice));
-    i2c_register_slave_subclass(info, TYPE_SMBUS_DEVICE);
-}
-
 /* Master device commands.  */
 void smbus_quick_command(i2c_bus *bus, uint8_t addr, int read)
 {