[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 11/26] hw/usb/hcd-xhci: Add missing header
From: |
Alistair Francis |
Subject: |
Re: [PATCH 11/26] hw/usb/hcd-xhci: Add missing header |
Date: |
Mon, 6 Jul 2020 09:57:54 -0700 |
On Sat, Jul 4, 2020 at 7:54 AM Philippe Mathieu-Daudé <f4bug@amsat.org> wrote:
>
> This header uses the USBPort type which is forward declared
> by "hw/usb.h".
>
> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Alistair
> ---
> hw/usb/hcd-xhci.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/hw/usb/hcd-xhci.h b/hw/usb/hcd-xhci.h
> index 946af51fc2..8edbdc2c3e 100644
> --- a/hw/usb/hcd-xhci.h
> +++ b/hw/usb/hcd-xhci.h
> @@ -22,6 +22,8 @@
> #ifndef HW_USB_HCD_XHCI_H
> #define HW_USB_HCD_XHCI_H
>
> +#include "hw/usb.h"
> +
> #define TYPE_XHCI "base-xhci"
> #define TYPE_NEC_XHCI "nec-usb-xhci"
> #define TYPE_QEMU_XHCI "qemu-xhci"
> --
> 2.21.3
>
>
- Re: [PATCH 07/26] hw/usb/hcd-dwc2: Restrict some headers to source, (continued)
- [PATCH 08/26] hw/usb/hcd-dwc2: Restrict 'dwc2-regs.h' scope, Philippe Mathieu-Daudé, 2020/07/04
- [PATCH 09/26] hw/usb/hcd-ehci: Remove unnecessary include, Philippe Mathieu-Daudé, 2020/07/04
- [PATCH 10/26] hw/usb/hcd-ehci: Move few definitions from header to source, Philippe Mathieu-Daudé, 2020/07/04
- [PATCH 11/26] hw/usb/hcd-xhci: Add missing header, Philippe Mathieu-Daudé, 2020/07/04
- Re: [PATCH 11/26] hw/usb/hcd-xhci: Add missing header,
Alistair Francis <=
- [PATCH 12/26] hw/usb/hcd-musb: Restrict header scope, Philippe Mathieu-Daudé, 2020/07/04
- [PATCH 14/26] hw/usb/quirks: Rename included source with '.inc.c' suffix, Philippe Mathieu-Daudé, 2020/07/04
- [PATCH 13/26] hw/usb/desc: Reduce some declarations scope, Philippe Mathieu-Daudé, 2020/07/04
- [PATCH 15/26] hw/usb: Add new 'usb-quirks.h' local header, Philippe Mathieu-Daudé, 2020/07/04
- [PATCH 16/26] hw/usb/bus: Simplify usb_get_dev_path(), Philippe Mathieu-Daudé, 2020/07/04