Follow coding conventions

Remove explicit struct qualifiers and rename structure types.

Signed-off-by: Paul Brook <paul@codesourcery.com>
This commit is contained in:
Paul Brook 2009-05-10 01:44:56 +01:00
parent d4ec522882
commit bc24a225af
56 changed files with 864 additions and 862 deletions

View file

@ -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";