From bc24a225af2464dc30f88d6f930779cbf0e22b67 Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Sun, 10 May 2009 01:44:56 +0100 Subject: Follow coding conventions Remove explicit struct qualifiers and rename structure types. Signed-off-by: Paul Brook --- hw/tosa.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'hw/tosa.c') diff --git a/hw/tosa.c b/hw/tosa.c index 0182e71..bb37aec 100644 --- a/hw/tosa.c +++ b/hw/tosa.c @@ -45,9 +45,9 @@ #define DAC_CH1 0 #define DAC_CH2 1 -static void tosa_microdrive_attach(struct pxa2xx_state_s *cpu) +static void tosa_microdrive_attach(PXA2xxState *cpu) { - struct pcmcia_card_s *md; + PCMCIACardState *md; int index; BlockDriverState *bs; @@ -83,10 +83,10 @@ static void tosa_out_switch(void *opaque, int line, int level) } -static void tosa_gpio_setup(struct pxa2xx_state_s *cpu, - struct scoop_info_s *scp0, - struct scoop_info_s *scp1, - struct tc6393xb_s *tmio) +static void tosa_gpio_setup(PXA2xxState *cpu, + ScoopInfo *scp0, + ScoopInfo *scp1, + TC6393xbState *tmio) { qemu_irq *outsignals = qemu_allocate_irqs(tosa_out_switch, cpu, 4); /* MMC/SD host */ @@ -178,7 +178,7 @@ static int tosa_dac_recv(i2c_slave *s) return -1; } -static void tosa_tg_init(struct pxa2xx_state_s *cpu) +static void tosa_tg_init(PXA2xxState *cpu) { struct i2c_bus *bus = pxa2xx_i2c_bus(cpu->i2c[0]); struct i2c_slave *dac = i2c_slave_init(bus, 0, sizeof(struct tosa_dac_i2c)); @@ -201,9 +201,9 @@ static void tosa_init(ram_addr_t ram_size, int vga_ram_size, const char *kernel_filename, const char *kernel_cmdline, const char *initrd_filename, const char *cpu_model) { - struct pxa2xx_state_s *cpu; - struct tc6393xb_s *tmio; - struct scoop_info_s *scp0, *scp1; + PXA2xxState *cpu; + TC6393xbState *tmio; + ScoopInfo *scp0, *scp1; if (!cpu_model) cpu_model = "pxa255"; -- cgit v1.1