diff options
author | Paul Brook <paul@codesourcery.com> | 2009-05-10 01:44:56 +0100 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2009-05-10 01:44:56 +0100 |
commit | 0d6800d7e35b7f6aa22467b261f8c8aad6bf4a2d (patch) | |
tree | 6df682b479f89863159f836e1dc292623ab577e1 /hw/sharpsl.h | |
parent | f84d20b49f4ded50a7564ec5c1b3278b63a6c1b4 (diff) | |
download | qemu-0d6800d7e35b7f6aa22467b261f8c8aad6bf4a2d.tar.gz qemu-0d6800d7e35b7f6aa22467b261f8c8aad6bf4a2d.tar.bz2 qemu-0d6800d7e35b7f6aa22467b261f8c8aad6bf4a2d.zip |
Follow coding conventions
Remove explicit struct qualifiers and rename structure types.
Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'hw/sharpsl.h')
-rw-r--r-- | hw/sharpsl.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/hw/sharpsl.h b/hw/sharpsl.h index 4d5cee98da..c5ccf791f6 100644 --- a/hw/sharpsl.h +++ b/hw/sharpsl.h @@ -10,11 +10,12 @@ fprintf(stderr, "%s: " format, __FUNCTION__, ##__VA_ARGS__) /* zaurus.c */ -struct scoop_info_s *scoop_init(struct pxa2xx_state_s *cpu, +typedef struct ScoopInfo ScoopInfo; +ScoopInfo *scoop_init(PXA2xxState *cpu, int instance, target_phys_addr_t target_base); void scoop_gpio_set(void *opaque, int line, int level); -qemu_irq *scoop_gpio_in_get(struct scoop_info_s *s); -void scoop_gpio_out_set(struct scoop_info_s *s, int line, +qemu_irq *scoop_gpio_in_get(ScoopInfo *s); +void scoop_gpio_out_set(ScoopInfo *s, int line, qemu_irq handler); #define SL_PXA_PARAM_BASE 0xa0000a00 |