Patchwork [01/16] fixup: merge with last sm501 patch

login
register
mail settings
Submitter Richard Henderson
Date Aug. 24, 2011, 12:13 a.m.
Message ID <1314144835-29098-2-git-send-email-rth@twiddle.net>
Download mbox | patch
Permalink /patch/111205/
State New
Headers show

Comments

Richard Henderson - Aug. 24, 2011, 12:13 a.m.
---
 hw/devices.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/hw/devices.h b/hw/devices.h
index 36c21e7..8ac384f 100644
--- a/hw/devices.h
+++ b/hw/devices.h
@@ -2,7 +2,7 @@ 
 #define QEMU_DEVICES_H
 
 /* ??? Not all users of this file can include cpu-common.h.  */
-typedef struct MemoryRegion MemoryRegion;
+struct MemoryRegion;
 
 /* Devices that have nowhere better to go.  */
 
@@ -60,7 +60,7 @@  qemu_irq *tc6393xb_gpio_in_get(TC6393xbState *s);
 qemu_irq tc6393xb_l3v_get(TC6393xbState *s);
 
 /* sm501.c */
-void sm501_init(MemoryRegion *address_space_mem, uint32_t base,
+void sm501_init(struct MemoryRegion *address_space_mem, uint32_t base,
                 uint32_t local_mem_bytes, qemu_irq irq,
                 CharDriverState *chr);