qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] USB: Fix build breakage in musb
@ 2011-05-07 22:59 Alexander Graf
  2011-05-08 15:40 ` Andreas Färber
  2011-05-08 15:54 ` Stefan Weil
  0 siblings, 2 replies; 6+ messages in thread
From: Alexander Graf @ 2011-05-07 22:59 UTC (permalink / raw)
  To: QEMU-devel Developers; +Cc: Gerd Hoffmann

Today's git failed building for me. It looks like a mismatching function
prototype definition.

This patch fixes compilation of arm-softmmu for me.

Signed-off-by: Alexander Graf <agraf@suse.de>
---
 hw/usb-musb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hw/usb-musb.c b/hw/usb-musb.c
index b30caeb..85a2b6f 100644
--- a/hw/usb-musb.c
+++ b/hw/usb-musb.c
@@ -261,7 +261,7 @@
 
 static void musb_attach(USBPort *port);
 static void musb_detach(USBPort *port);
-static void musb_schedule_cb(USBDevice *dev, USBPacket *p);
+static inline void musb_schedule_cb(USBDevice *dev, USBPacket *p);
 
 static USBPortOps musb_port_ops = {
     .attach = musb_attach,
-- 
1.6.0.2

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-05-09  9:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-07 22:59 [Qemu-devel] [PATCH] USB: Fix build breakage in musb Alexander Graf
2011-05-08 15:40 ` Andreas Färber
2011-05-08 15:54 ` Stefan Weil
2011-05-08 16:08   ` Stefan Weil
2011-05-09  7:43     ` Gerd Hoffmann
2011-05-09  9:05       ` Alexander Graf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).