aboutsummaryrefslogtreecommitdiff
path: root/hw/usb
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2020-06-01 16:15:35 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2020-06-12 11:20:14 -0400
commit2c89d91195c4c7a118d2ae3518c31ca77a0583cd (patch)
treedb79d36b62bfb48e0a9d278be4229434a2a7ed9a /hw/usb
parente1bc61989264a37aeffefa1fb3cf100db259b35b (diff)
downloadqemu-2c89d91195c4c7a118d2ae3518c31ca77a0583cd.zip
qemu-2c89d91195c4c7a118d2ae3518c31ca77a0583cd.tar.gz
qemu-2c89d91195c4c7a118d2ae3518c31ca77a0583cd.tar.bz2
hw/usb: Move device-specific declarations to new 'hcd-musb.h' header
Move the declarations for the MUSB-HDRC USB2.0 OTG compliant core into a separate header. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20200601141536.15192-3-f4bug@amsat.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/usb')
-rw-r--r--hw/usb/hcd-musb.c1
-rw-r--r--hw/usb/tusb6010.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/hw/usb/hcd-musb.c b/hw/usb/hcd-musb.c
index c29fbef..5ab13fe 100644
--- a/hw/usb/hcd-musb.c
+++ b/hw/usb/hcd-musb.c
@@ -23,6 +23,7 @@
#include "qemu/osdep.h"
#include "qemu/timer.h"
#include "hw/usb.h"
+#include "hw/usb/hcd-musb.h"
#include "hw/irq.h"
#include "hw/hw.h"
diff --git a/hw/usb/tusb6010.c b/hw/usb/tusb6010.c
index 1758087..27eb28d 100644
--- a/hw/usb/tusb6010.c
+++ b/hw/usb/tusb6010.c
@@ -23,6 +23,7 @@
#include "qemu/module.h"
#include "qemu/timer.h"
#include "hw/usb.h"
+#include "hw/usb/hcd-musb.h"
#include "hw/arm/omap.h"
#include "hw/hw.h"
#include "hw/irq.h"