aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-iop32x/iq80321.c
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@wantstofly.org>2006-09-18 18:26:25 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-09-25 05:25:53 -0400
commitc852ac80440db9b0a47f48578e9c6303078abbc1 (patch)
tree0c7fc1ca7700b0196a20242ca306003db7e35fb6 /arch/arm/mach-iop32x/iq80321.c
parent475549faa161f4e002225f2ef75fdd2a6d83d151 (diff)
[ARM] 3832/1: iop3xx: coding style cleanup
Since the iop32x code isn't iop321-specific, and the iop33x code isn't iop331-specfic, do a s/iop321/iop32x/ and s/iop331/iop33x/, and tidy up the code to conform to the coding style guidelines somewhat better. Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-iop32x/iq80321.c')
-rw-r--r--arch/arm/mach-iop32x/iq80321.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/arm/mach-iop32x/iq80321.c b/arch/arm/mach-iop32x/iq80321.c
index 3c9b86271759..1f37b5501888 100644
--- a/arch/arm/mach-iop32x/iq80321.c
+++ b/arch/arm/mach-iop32x/iq80321.c
@@ -78,19 +78,19 @@ iq80321_pci_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
78 78
79 if ((slot == 2 || slot == 6) && pin == 1) { 79 if ((slot == 2 || slot == 6) && pin == 1) {
80 /* PCI-X Slot INTA */ 80 /* PCI-X Slot INTA */
81 irq = IRQ_IOP321_XINT2; 81 irq = IRQ_IOP32X_XINT2;
82 } else if ((slot == 2 || slot == 6) && pin == 2) { 82 } else if ((slot == 2 || slot == 6) && pin == 2) {
83 /* PCI-X Slot INTA */ 83 /* PCI-X Slot INTA */
84 irq = IRQ_IOP321_XINT3; 84 irq = IRQ_IOP32X_XINT3;
85 } else if ((slot == 2 || slot == 6) && pin == 3) { 85 } else if ((slot == 2 || slot == 6) && pin == 3) {
86 /* PCI-X Slot INTA */ 86 /* PCI-X Slot INTA */
87 irq = IRQ_IOP321_XINT0; 87 irq = IRQ_IOP32X_XINT0;
88 } else if ((slot == 2 || slot == 6) && pin == 4) { 88 } else if ((slot == 2 || slot == 6) && pin == 4) {
89 /* PCI-X Slot INTA */ 89 /* PCI-X Slot INTA */
90 irq = IRQ_IOP321_XINT1; 90 irq = IRQ_IOP32X_XINT1;
91 } else if (slot == 4 || slot == 8) { 91 } else if (slot == 4 || slot == 8) {
92 /* Gig-E */ 92 /* Gig-E */
93 irq = IRQ_IOP321_XINT0; 93 irq = IRQ_IOP32X_XINT0;
94 } else { 94 } else {
95 printk(KERN_ERR "iq80321_pci_map_irq() called for unknown " 95 printk(KERN_ERR "iq80321_pci_map_irq() called for unknown "
96 "device PCI:%d:%d:%d\n", dev->bus->number, 96 "device PCI:%d:%d:%d\n", dev->bus->number,
@@ -148,7 +148,7 @@ static struct plat_serial8250_port iq80321_serial_port[] = {
148 { 148 {
149 .mapbase = IQ80321_UART, 149 .mapbase = IQ80321_UART,
150 .membase = (char *)IQ80321_UART, 150 .membase = (char *)IQ80321_UART,
151 .irq = IRQ_IOP321_XINT1, 151 .irq = IRQ_IOP32X_XINT1,
152 .flags = UPF_SKIP_TEST, 152 .flags = UPF_SKIP_TEST,
153 .iotype = UPIO_MEM, 153 .iotype = UPIO_MEM,
154 .regshift = 0, 154 .regshift = 0,
@@ -187,7 +187,7 @@ MACHINE_START(IQ80321, "Intel IQ80321")
187 .io_pg_offst = ((IQ80321_UART) >> 18) & 0xfffc, 187 .io_pg_offst = ((IQ80321_UART) >> 18) & 0xfffc,
188 .boot_params = 0xa0000100, 188 .boot_params = 0xa0000100,
189 .map_io = iq80321_map_io, 189 .map_io = iq80321_map_io,
190 .init_irq = iop321_init_irq, 190 .init_irq = iop32x_init_irq,
191 .timer = &iq80321_timer, 191 .timer = &iq80321_timer,
192 .init_machine = iq80321_init_machine, 192 .init_machine = iq80321_init_machine,
193MACHINE_END 193MACHINE_END