qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: "TAKEDA, toshiya" <t-takeda@m1.interq.or.jp>
Cc: qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH V4 05/18] support NEC PC-9821 keyboard
Date: Tue, 05 Jan 2010 11:10:06 +0100	[thread overview]
Message-ID: <4B430FFE.8030003@redhat.com> (raw)
In-Reply-To: <200912221740.AA00208@YOUR-BD18D6DD63.m1.interq.or.jp>

> +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

      reply	other threads:[~2010-01-05 19:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-22 17:40 [Qemu-devel] [PATCH V4 05/18] support NEC PC-9821 keyboard TAKEDA, toshiya
2010-01-05 10:10 ` Gerd Hoffmann [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B430FFE.8030003@redhat.com \
    --to=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=t-takeda@m1.interq.or.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).