Commit fa58c1568bba0ad031b5c6ebe1f34d41b611c61c
1 parent
444ce241
removed unused variables
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3612 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
17 additions
and
5 deletions
hw/pxa2xx.c
... | ... | @@ -25,22 +25,34 @@ static struct { |
25 | 25 | { 0, 0 } |
26 | 26 | }; |
27 | 27 | |
28 | -static struct { | |
28 | +typedef struct PXASSPDef { | |
29 | 29 | target_phys_addr_t io_base; |
30 | 30 | int irqn; |
31 | -} pxa250_ssp[] = { | |
31 | +} PXASSPDef; | |
32 | + | |
33 | +#if 0 | |
34 | +static PXASSPDef pxa250_ssp[] = { | |
32 | 35 | { 0x41000000, PXA2XX_PIC_SSP }, |
33 | 36 | { 0, 0 } |
34 | -}, pxa255_ssp[] = { | |
37 | +}; | |
38 | +#endif | |
39 | + | |
40 | +static PXASSPDef pxa255_ssp[] = { | |
35 | 41 | { 0x41000000, PXA2XX_PIC_SSP }, |
36 | 42 | { 0x41400000, PXA25X_PIC_NSSP }, |
37 | 43 | { 0, 0 } |
38 | -}, pxa26x_ssp[] = { | |
44 | +}; | |
45 | + | |
46 | +#if 0 | |
47 | +static PXASSPDef pxa26x_ssp[] = { | |
39 | 48 | { 0x41000000, PXA2XX_PIC_SSP }, |
40 | 49 | { 0x41400000, PXA25X_PIC_NSSP }, |
41 | 50 | { 0x41500000, PXA26X_PIC_ASSP }, |
42 | 51 | { 0, 0 } |
43 | -}, pxa27x_ssp[] = { | |
52 | +}; | |
53 | +#endif | |
54 | + | |
55 | +static PXASSPDef pxa27x_ssp[] = { | |
44 | 56 | { 0x41000000, PXA2XX_PIC_SSP }, |
45 | 57 | { 0x41700000, PXA27X_PIC_SSP2 }, |
46 | 58 | { 0x41900000, PXA2XX_PIC_SSP3 }, | ... | ... |