diff options
author | Marcel Apfelbaum <marcel@redhat.com> | 2015-01-06 15:29:14 +0200 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2015-01-08 17:32:27 +0000 |
commit | de77a243b3e703adae0a5c981914ff87cb99bdf6 (patch) | |
tree | 14036828408040de38ebefd9035546f96770d46d /hw/arm/nseries.c | |
parent | 5e97b623c254a2c7b1f67b21f7aede93d995f4bd (diff) | |
download | qemu-de77a243b3e703adae0a5c981914ff87cb99bdf6.tar.gz qemu-de77a243b3e703adae0a5c981914ff87cb99bdf6.tar.bz2 qemu-de77a243b3e703adae0a5c981914ff87cb99bdf6.zip |
hw/usb: simplified usb_enabled
The argument is not longer used and the implementation
uses now QOM instead of QemuOpts.
Signed-off-by: Marcel Apfelbaum <marcel@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Alexander Graf <agraf@suse.de>
Message-id: 1420550957-22337-4-git-send-email-marcel@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/arm/nseries.c')
-rw-r--r-- | hw/arm/nseries.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm/nseries.c b/hw/arm/nseries.c index c7ebaa6abc..4d7be5e740 100644 --- a/hw/arm/nseries.c +++ b/hw/arm/nseries.c @@ -1344,7 +1344,7 @@ static void n8x0_init(MachineState *machine, n8x0_dss_setup(s); n8x0_cbus_setup(s); n8x0_uart_setup(s); - if (usb_enabled(false)) { + if (usb_enabled()) { n8x0_usb_setup(s); } |