|
| From: | Richard Henderson |
| Subject: | Re: [PATCH 3/4] usb: inline device creation functions |
| Date: | Tue, 30 Jan 2024 08:30:36 +1000 |
| User-agent: | Mozilla Thunderbird |
On 1/29/24 23:37, Paolo Bonzini wrote:
Allow boards to use the device creation functions even if USB itself is not available; of course the functions will fail inexorably, but this can be okay if the calls are conditional on the existence of some USB host controller device. This is for example the case for hw/mips/loongson3_virt.c. Signed-off-by: Paolo Bonzini<pbonzini@redhat.com> --- include/hw/usb.h | 26 +++++++++++++++++++++++--- hw/usb/bus.c | 23 ----------------------- 2 files changed, 23 insertions(+), 26 deletions(-)
Acked-by: Richard Henderson <richard.henderson@linaro.org> r~
| [Prev in Thread] | Current Thread | [Next in Thread] |