]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[MIPS] Alchemy: Get rid of au1xxx_irq_map_t.
authorRalf Baechle <ralf@linux-mips.org>
Mon, 15 Oct 2007 00:07:39 +0000 (01:07 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 16 Oct 2007 17:23:48 +0000 (18:23 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/au1000/common/au1xxx_irqmap.c
arch/mips/au1000/common/irq.c
arch/mips/au1000/db1x00/irqmap.c
arch/mips/au1000/mtx-1/irqmap.c
arch/mips/au1000/pb1000/irqmap.c
arch/mips/au1000/pb1100/irqmap.c
arch/mips/au1000/pb1200/irqmap.c
arch/mips/au1000/pb1500/irqmap.c
arch/mips/au1000/pb1550/irqmap.c
arch/mips/au1000/xxs1500/irqmap.c
include/asm-mips/mach-au1x00/au1000.h

index 7acfe9bf5fc3b8369ea7b49f4a128a8f212c3b52..98a4e34b024896038e7c833c37686244f22aaa9e 100644 (file)
@@ -54,7 +54,7 @@
  * Careful if you change match 2 request!
  * The interrupt handler is called directly from the low level dispatch code.
  */
-au1xxx_irq_map_t __initdata au1xxx_ic0_map[] = {
+struct au1xxx_irqmap __initdata au1xxx_ic0_map[] = {
 
 #if defined(CONFIG_SOC_AU1000)
        { AU1000_UART0_INT, INTC_INT_HIGH_LEVEL, 0},
index b0ae1ab0ad9efb55f4a406f2557fd42133888c92..c00f308fd505556ac83c13aec536af8353e6e4e9 100644 (file)
@@ -562,9 +562,9 @@ void __init arch_init_irq(void)
 {
        int i;
        unsigned long cp0_status;
-       au1xxx_irq_map_t *imp;
-       extern au1xxx_irq_map_t au1xxx_irq_map[];
-       extern au1xxx_irq_map_t au1xxx_ic0_map[];
+       struct au1xxx_irqmap *imp;
+       extern struct au1xxx_irqmap au1xxx_irq_map[];
+       extern struct au1xxx_irqmap au1xxx_ic0_map[];
        extern int au1xxx_nr_irqs;
        extern int au1xxx_ic0_nr_irqs;
 
index 3e5729145c2b5d498f54e6bfc2acca498d3c853a..09cea03411b0d9c972cb96e5d689ee51335b1e05 100644 (file)
@@ -79,7 +79,7 @@ char irq_tab_alchemy[][5] __initdata = {
 #endif
 
 
-au1xxx_irq_map_t __initdata au1xxx_irq_map[] = {
+struct au1xxx_irqmap __initdata au1xxx_irq_map[] = {
 
 #ifndef CONFIG_MIPS_MIRAGE
 #ifdef CONFIG_MIPS_DB1550
index a4fa0f227e420d2958b8645a109bd0bd3688e79c..49c612aeddcfbc294af2e78bef6efa789a41d90f 100644 (file)
@@ -58,7 +58,7 @@ char irq_tab_alchemy[][5] __initdata = {
  [7] = { -1, INTD, INTC, INTX, INTX},   /* IDSEL 07 - AdapterD-Slot1 (bottom) */
 };
 
-au1xxx_irq_map_t __initdata au1xxx_irq_map[] = {
+struct au1xxx_irqmap __initdata au1xxx_irq_map[] = {
        { AU1500_GPIO_204, INTC_INT_HIGH_LEVEL, 0},
        { AU1500_GPIO_201, INTC_INT_LOW_LEVEL, 0 },
        { AU1500_GPIO_202, INTC_INT_LOW_LEVEL, 0 },
index 156500ba467ff191ce880334249088a01d5ebbf4..88e354508204f7c3f52b4a1b08bc962d5d8180c8 100644 (file)
@@ -47,7 +47,7 @@
 #include <asm/system.h>
 #include <asm/mach-au1x00/au1000.h>
 
-au1xxx_irq_map_t __initdata au1xxx_irq_map[] = {
+struct au1xxx_irqmap __initdata au1xxx_irq_map[] = {
        { AU1000_GPIO_15, INTC_INT_LOW_LEVEL, 0 },
 };
 
index d986916221b71db881f1241ffbfecf773169b90c..880456bf8c11facce55221cd5b041efb190d934b 100644 (file)
@@ -47,7 +47,7 @@
 #include <asm/system.h>
 #include <asm/mach-au1x00/au1000.h>
 
-au1xxx_irq_map_t __initdata au1xxx_irq_map[] = {
+struct au1xxx_irqmap __initdata au1xxx_irq_map[] = {
        { AU1000_GPIO_9, INTC_INT_LOW_LEVEL, 0 }, // PCMCIA Card Fully_Interted#
        { AU1000_GPIO_10, INTC_INT_LOW_LEVEL, 0 }, // PCMCIA Card STSCHG#
        { AU1000_GPIO_11, INTC_INT_LOW_LEVEL, 0 }, // PCMCIA Card IRQ#
index aa85eedf7c0d7c82522080b981f128cda6b0e0e4..3bee274445f50eea835f35e4b03878e40a43ffd8 100644 (file)
@@ -54,7 +54,7 @@
 #define PB1200_INT_END DB1200_INT_END
 #endif
 
-au1xxx_irq_map_t __initdata au1xxx_irq_map[] = {
+struct au1xxx_irqmap __initdata au1xxx_irq_map[] = {
        { AU1000_GPIO_7, INTC_INT_LOW_LEVEL, 0 }, // This is exteranl interrupt cascade
 };
 
index 409d1612bb63ec64e72381afbd487060b6da0485..810f695e24bbadd5cd215a54edcdedfa431e6103 100644 (file)
@@ -52,7 +52,7 @@ char irq_tab_alchemy[][5] __initdata = {
  [13] = { -1, INTA, INTB, INTC, INTD},   /* IDSEL 13 - PCI slot */
 };
 
-au1xxx_irq_map_t __initdata au1xxx_irq_map[] = {
+struct au1xxx_irqmap __initdata au1xxx_irq_map[] = {
        { AU1500_GPIO_204, INTC_INT_HIGH_LEVEL, 0},
        { AU1500_GPIO_201, INTC_INT_LOW_LEVEL, 0 },
        { AU1500_GPIO_202, INTC_INT_LOW_LEVEL, 0 },
index 24a9d186cf5ab779e4c6306902671cf771687d6b..56becab28e5dc4a94a443f5135e7e296bbf4f388 100644 (file)
@@ -52,7 +52,7 @@ char irq_tab_alchemy[][5] __initdata = {
  [13] =        { -1, INTA, INTB, INTC, INTD},   /* IDSEL 13 - PCI slot 1 (right) */
 };
 
-au1xxx_irq_map_t __initdata au1xxx_irq_map[] = {
+struct au1xxx_irqmap __initdata au1xxx_irq_map[] = {
        { AU1000_GPIO_0, INTC_INT_LOW_LEVEL, 0 },
        { AU1000_GPIO_1, INTC_INT_LOW_LEVEL, 0 },
 };
index 3844c6429e275a1af7f6bc1647c5db9944204dde..389349295d702b0eb8038985bb9d5303152bf2f5 100644 (file)
@@ -47,7 +47,7 @@
 #include <asm/system.h>
 #include <asm/au1000.h>
 
-au1xxx_irq_map_t __initdata au1xxx_irq_map[] = {
+struct au1xxx_irqmap __initdata au1xxx_irq_map[] = {
        { AU1500_GPIO_204, INTC_INT_HIGH_LEVEL, 0},
        { AU1500_GPIO_201, INTC_INT_LOW_LEVEL, 0 },
        { AU1500_GPIO_202, INTC_INT_LOW_LEVEL, 0 },
index 630138f6f918370955fffa0515f5616374f1d268..b37baf8cf624c3b36afde36b21a3d72b276f781b 100644 (file)
@@ -102,16 +102,16 @@ extern unsigned int get_au1x00_lcd_clock(void);
 /*
  * Every board describes its IRQ mapping with this table.
  */
-typedef struct au1xxx_irqmap {
+struct au1xxx_irqmap {
        int     im_irq;
        int     im_type;
        int     im_request;
-} au1xxx_irq_map_t;
+};
 
 /*
  * init_IRQ looks for a table with this name.
  */
-extern au1xxx_irq_map_t au1xxx_irq_map[];
+extern struct au1xxx_irqmap au1xxx_irq_map[];
 
 #endif /* !defined (_LANGUAGE_ASSEMBLY) */