Fix a regression since xhci-sysbus introduction. Since v1: - Do not declare TYPE_XHCI abstract
Cleaned a bit code style while here, patches included for 6.0. Supersedes: <20201107111307.262263-1-phi...@redhat.com> Philippe Mathieu-Daudé (4): hw/usb/Kconfig: Fix USB_XHCI_NEC (depends on USB_XHCI_PCI) hw/usb/hcd-xhci: Restrict TYPE_XHCI to hw/usb/ hw/usb/hcd-xhci-pci: Use OBJECT_DECLARE_SIMPLE_TYPE() macro hw/usb/hcd-xhci-pci: Rename "pci-xhci" as TYPE_XHCI_PCI_COMMON hw/usb/hcd-xhci-pci.h | 6 ++---- hw/usb/hcd-xhci.h | 1 + include/hw/usb/xhci.h | 1 - hw/usb/hcd-xhci-nec.c | 2 +- hw/usb/hcd-xhci-pci.c | 16 ++++++++-------- hw/usb/Kconfig | 4 +--- 6 files changed, 13 insertions(+), 17 deletions(-) -- 2.26.2