summaryrefslogtreecommitdiff
path: root/hw/pxa2xx.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-11 19:48:33 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-11 19:48:33 +0000
commitfa58c1568bba0ad031b5c6ebe1f34d41b611c61c (patch)
treeff2e65a8e320f9fcf9cc96a57a15331ed4421336 /hw/pxa2xx.c
parent444ce24195b97d1b425cd250a731e3f5f4b4bbfa (diff)
downloadqemu-fa58c1568bba0ad031b5c6ebe1f34d41b611c61c.tar.gz
removed unused variables
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3612 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/pxa2xx.c')
-rw-r--r--hw/pxa2xx.c22
1 files changed, 17 insertions, 5 deletions
diff --git a/hw/pxa2xx.c b/hw/pxa2xx.c
index 3c10839022..62c396cd33 100644
--- a/hw/pxa2xx.c
+++ b/hw/pxa2xx.c
@@ -25,22 +25,34 @@ static struct {
{ 0, 0 }
};
-static struct {
+typedef struct PXASSPDef {
target_phys_addr_t io_base;
int irqn;
-} pxa250_ssp[] = {
+} PXASSPDef;
+
+#if 0
+static PXASSPDef pxa250_ssp[] = {
{ 0x41000000, PXA2XX_PIC_SSP },
{ 0, 0 }
-}, pxa255_ssp[] = {
+};
+#endif
+
+static PXASSPDef pxa255_ssp[] = {
{ 0x41000000, PXA2XX_PIC_SSP },
{ 0x41400000, PXA25X_PIC_NSSP },
{ 0, 0 }
-}, pxa26x_ssp[] = {
+};
+
+#if 0
+static PXASSPDef pxa26x_ssp[] = {
{ 0x41000000, PXA2XX_PIC_SSP },
{ 0x41400000, PXA25X_PIC_NSSP },
{ 0x41500000, PXA26X_PIC_ASSP },
{ 0, 0 }
-}, pxa27x_ssp[] = {
+};
+#endif
+
+static PXASSPDef pxa27x_ssp[] = {
{ 0x41000000, PXA2XX_PIC_SSP },
{ 0x41700000, PXA27X_PIC_SSP2 },
{ 0x41900000, PXA2XX_PIC_SSP3 },