+void pc98_kbd_init(void) +{ + ISADevice *dev; + + dev = isa_create("pc98-kbd"); + qdev_init_nofail(&dev->qdev); +}
There is no need for such a wrapper. You can use isa_create_simple("pc98-kbd"); instead. Likewise for other devices (mouse, ...). cheers, Gerd