|
| From: | Gerd Hoffmann |
| Subject: | Re: [Qemu-devel] [PATCH V4 05/18] support NEC PC-9821 keyboard |
| Date: | Tue, 05 Jan 2010 11:10:06 +0100 |
| User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20090922 Fedora/3.0-3.9.b4.fc12 Lightning/1.0pre Thunderbird/3.0b4 |
+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
| [Prev in Thread] | Current Thread | [Next in Thread] |