]> Git Repo - qemu.git/commitdiff
sysbus-ohci: Remove user_creatable flag
authorEduardo Habkost <[email protected]>
Wed, 3 May 2017 20:36:01 +0000 (17:36 -0300)
committerEduardo Habkost <[email protected]>
Wed, 17 May 2017 13:37:01 +0000 (10:37 -0300)
sysbus-ohci needs to be mapped and wired by device or board code,
and won't work with -device. Remove the user_creatable flag from
the device class.

Cc: Marcel Apfelbaum <[email protected]>
Cc: Gerd Hoffmann <[email protected]>
Acked-by: Marcel Apfelbaum <[email protected]>
Signed-off-by: Eduardo Habkost <[email protected]>
Message-Id: <20170503203604[email protected]>
Signed-off-by: Eduardo Habkost <[email protected]>
hw/usb/hcd-ohci.c

index 18b31022a71b0ef9be15094865abf8973d998559..3ada35e954e86262263d449750b7cb6c7e427516 100644 (file)
@@ -2159,11 +2159,6 @@ static void ohci_sysbus_class_init(ObjectClass *klass, void *data)
     dc->desc = "OHCI USB Controller";
     dc->props = ohci_sysbus_properties;
     dc->reset = usb_ohci_reset_sysbus;
-    /*
-     * FIXME: Set only because we are not sure yet if this device
-     * will be outside the q35 sysbus whitelist.
-     */
-    dc->user_creatable = true;
 }
 
 static const TypeInfo ohci_sysbus_info = {
This page took 0.027679 seconds and 4 git commands to generate.