diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2006-09-18 18:26:25 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-09-25 05:25:53 -0400 |
commit | c852ac80440db9b0a47f48578e9c6303078abbc1 (patch) | |
tree | 0c7fc1ca7700b0196a20242ca306003db7e35fb6 /arch/arm/mach-iop33x/iq80332.c | |
parent | 475549faa161f4e002225f2ef75fdd2a6d83d151 (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-iop33x/iq80332.c')
-rw-r--r-- | arch/arm/mach-iop33x/iq80332.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/mach-iop33x/iq80332.c b/arch/arm/mach-iop33x/iq80332.c index 150f3fd5de0b..9887bfc1c078 100644 --- a/arch/arm/mach-iop33x/iq80332.c +++ b/arch/arm/mach-iop33x/iq80332.c | |||
@@ -61,19 +61,19 @@ iq80332_pci_map_irq(struct pci_dev *dev, u8 slot, u8 pin) | |||
61 | 61 | ||
62 | if (slot == 4 && pin == 1) { | 62 | if (slot == 4 && pin == 1) { |
63 | /* PCI-X Slot INTA */ | 63 | /* PCI-X Slot INTA */ |
64 | irq = IRQ_IOP331_XINT0; | 64 | irq = IRQ_IOP33X_XINT0; |
65 | } else if (slot == 4 && pin == 2) { | 65 | } else if (slot == 4 && pin == 2) { |
66 | /* PCI-X Slot INTB */ | 66 | /* PCI-X Slot INTB */ |
67 | irq = IRQ_IOP331_XINT1; | 67 | irq = IRQ_IOP33X_XINT1; |
68 | } else if (slot == 4 && pin == 3) { | 68 | } else if (slot == 4 && pin == 3) { |
69 | /* PCI-X Slot INTC */ | 69 | /* PCI-X Slot INTC */ |
70 | irq = IRQ_IOP331_XINT2; | 70 | irq = IRQ_IOP33X_XINT2; |
71 | } else if (slot == 4 && pin == 4) { | 71 | } else if (slot == 4 && pin == 4) { |
72 | /* PCI-X Slot INTD */ | 72 | /* PCI-X Slot INTD */ |
73 | irq = IRQ_IOP331_XINT3; | 73 | irq = IRQ_IOP33X_XINT3; |
74 | } else if (slot == 6) { | 74 | } else if (slot == 6) { |
75 | /* GigE */ | 75 | /* GigE */ |
76 | irq = IRQ_IOP331_XINT2; | 76 | irq = IRQ_IOP33X_XINT2; |
77 | } else { | 77 | } else { |
78 | printk(KERN_ERR "iq80332_pci_map_irq() called for unknown " | 78 | printk(KERN_ERR "iq80332_pci_map_irq() called for unknown " |
79 | "device PCI:%d:%d:%d\n", dev->bus->number, | 79 | "device PCI:%d:%d:%d\n", dev->bus->number, |
@@ -142,7 +142,7 @@ MACHINE_START(IQ80332, "Intel IQ80332") | |||
142 | .io_pg_offst = ((0xfffff000) >> 18) & 0xfffc, | 142 | .io_pg_offst = ((0xfffff000) >> 18) & 0xfffc, |
143 | .boot_params = 0x00000100, | 143 | .boot_params = 0x00000100, |
144 | .map_io = iop3xx_map_io, | 144 | .map_io = iop3xx_map_io, |
145 | .init_irq = iop331_init_irq, | 145 | .init_irq = iop33x_init_irq, |
146 | .timer = &iq80332_timer, | 146 | .timer = &iq80332_timer, |
147 | .init_machine = iq80332_init_machine, | 147 | .init_machine = iq80332_init_machine, |
148 | MACHINE_END | 148 | MACHINE_END |