]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
hw/usb/ohci: Include missing 'sysbus.h' header
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 3 Feb 2023 09:52:26 +0000 (10:52 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 27 Feb 2023 21:29:02 +0000 (22:29 +0100)
Avoid when including "hw/usb/hcd-ohci.h":

  hw/usb/hcd-ohci.h:100:5: error: unknown type name 'SysBusDevice'
      SysBusDevice parent_obj;
      ^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20230203113650.78146-6-philmd@linaro.org>

hw/usb/hcd-ohci.h

index 11ac57058d1cd72029b7def1281c858e22f2db43..e5e6b434fde7b115f58325e6cfc915cdc2b069be 100644 (file)
@@ -21,6 +21,7 @@
 #ifndef HCD_OHCI_H
 #define HCD_OHCI_H
 
+#include "hw/sysbus.h"
 #include "sysemu/dma.h"
 #include "hw/usb.h"
 #include "qom/object.h"