aboutsummaryrefslogtreecommitdiff
path: root/hw/tosa.c
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/tosa.c
parentd4ec5228821b8bdd8019cb5dafa2ea3659ddb1f9 (diff)
Follow coding conventions
Remove explicit struct qualifiers and rename structure types. Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'hw/tosa.c')
-rw-r--r--hw/tosa.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/hw/tosa.c b/hw/tosa.c
index 0182e71156..bb37aec0cf 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";