summaryrefslogtreecommitdiffstats
path: root/hw/usb.h
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2009-05-10 01:44:56 +0100
committerPaul Brook <paul@codesourcery.com>2009-05-10 01:44:56 +0100
commitbc24a225af2464dc30f88d6f930779cbf0e22b67 (patch)
tree6df682b479f89863159f836e1dc292623ab577e1 /hw/usb.h
parentd4ec5228821b8bdd8019cb5dafa2ea3659ddb1f9 (diff)
downloadhqemu-bc24a225af2464dc30f88d6f930779cbf0e22b67.zip
hqemu-bc24a225af2464dc30f88d6f930779cbf0e22b67.tar.gz
Follow coding conventions
Remove explicit struct qualifiers and rename structure types. Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'hw/usb.h')
-rw-r--r--hw/usb.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/hw/usb.h b/hw/usb.h
index 3ecb7d6..e9d4bc2 100644
--- a/hw/usb.h
+++ b/hw/usb.h
@@ -292,8 +292,8 @@ enum musb_irq_source_e {
__musb_irq_max,
};
-struct musb_s;
-struct musb_s *musb_init(qemu_irq *irqs);
-uint32_t musb_core_intr_get(struct musb_s *s);
-void musb_core_intr_clear(struct musb_s *s, uint32_t mask);
-void musb_set_size(struct musb_s *s, int epnum, int size, int is_tx);
+typedef struct MUSBState MUSBState;
+MUSBState *musb_init(qemu_irq *irqs);
+uint32_t musb_core_intr_get(MUSBState *s);
+void musb_core_intr_clear(MUSBState *s, uint32_t mask);
+void musb_set_size(MUSBState *s, int epnum, int size, int is_tx);
OpenPOWER on IntegriCloud