summaryrefslogtreecommitdiff
path: root/hw/nvram.h
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-02-07 08:05:03 +0000
committerBlue Swirl <blauwirbel@gmail.com>2010-02-07 08:05:03 +0000
commit43a347045768ce843987649bafc5bc1dd18d4d0f (patch)
tree34e6917f0518bab55d3d821ad852eb09b0e8ada9 /hw/nvram.h
parent1cd62ae9f8ed624263e4779d2c71908aa41137fb (diff)
m48t59: don't use reserved _t suffix
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/nvram.h')
-rw-r--r--hw/nvram.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/hw/nvram.h b/hw/nvram.h
index c63fd5f095..0f55b24418 100644
--- a/hw/nvram.h
+++ b/hw/nvram.h
@@ -29,15 +29,14 @@ int PPC_NVRAM_set_params (nvram_t *nvram, uint16_t NVRAM_size,
uint32_t initrd_image, uint32_t initrd_size,
uint32_t NVRAM_image,
int width, int height, int depth);
-typedef struct m48t59_t m48t59_t;
+typedef struct M48t59State M48t59State;
void m48t59_write (void *private, uint32_t addr, uint32_t val);
uint32_t m48t59_read (void *private, uint32_t addr);
void m48t59_toggle_lock (void *private, int lock);
-m48t59_t *m48t59_init_isa(uint32_t io_base, uint16_t size, int type);
-m48t59_t *m48t59_init (qemu_irq IRQ, target_phys_addr_t mem_base,
- uint32_t io_base, uint16_t size,
- int type);
+M48t59State *m48t59_init_isa(uint32_t io_base, uint16_t size, int type);
+M48t59State *m48t59_init(qemu_irq IRQ, target_phys_addr_t mem_base,
+ uint32_t io_base, uint16_t size, int type);
void m48t59_set_addr (void *opaque, uint32_t addr);
#endif /* !NVRAM_H */