aboutsummaryrefslogtreecommitdiffstats
path: root/arch/alpha/kernel/sys_sable.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/alpha/kernel/sys_sable.c')
-rw-r--r--arch/alpha/kernel/sys_sable.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/alpha/kernel/sys_sable.c b/arch/alpha/kernel/sys_sable.c
index 8a0aa6d67b53..86d259c2612d 100644
--- a/arch/alpha/kernel/sys_sable.c
+++ b/arch/alpha/kernel/sys_sable.c
@@ -192,10 +192,10 @@ sable_init_irq(void)
192 * with the values in the irq swizzling tables above. 192 * with the values in the irq swizzling tables above.
193 */ 193 */
194 194
195static int __init 195static int
196sable_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) 196sable_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
197{ 197{
198 static char irq_tab[9][5] __initdata = { 198 static char irq_tab[9][5] = {
199 /*INT INTA INTB INTC INTD */ 199 /*INT INTA INTB INTC INTD */
200 { 32+0, 32+0, 32+0, 32+0, 32+0}, /* IdSel 0, TULIP */ 200 { 32+0, 32+0, 32+0, 32+0, 32+0}, /* IdSel 0, TULIP */
201 { 32+1, 32+1, 32+1, 32+1, 32+1}, /* IdSel 1, SCSI */ 201 { 32+1, 32+1, 32+1, 32+1, 32+1}, /* IdSel 1, SCSI */
@@ -374,10 +374,10 @@ lynx_init_irq(void)
374 * with the values in the irq swizzling tables above. 374 * with the values in the irq swizzling tables above.
375 */ 375 */
376 376
377static int __init 377static int
378lynx_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) 378lynx_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
379{ 379{
380 static char irq_tab[19][5] __initdata = { 380 static char irq_tab[19][5] = {
381 /*INT INTA INTB INTC INTD */ 381 /*INT INTA INTB INTC INTD */
382 { -1, -1, -1, -1, -1}, /* IdSel 13, PCEB */ 382 { -1, -1, -1, -1, -1}, /* IdSel 13, PCEB */
383 { -1, -1, -1, -1, -1}, /* IdSel 14, PPB */ 383 { -1, -1, -1, -1, -1}, /* IdSel 14, PPB */
@@ -404,7 +404,7 @@ lynx_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
404 return COMMON_TABLE_LOOKUP; 404 return COMMON_TABLE_LOOKUP;
405} 405}
406 406
407static u8 __init 407static u8
408lynx_swizzle(struct pci_dev *dev, u8 *pinp) 408lynx_swizzle(struct pci_dev *dev, u8 *pinp)
409{ 409{
410 int slot, pin = *pinp; 410 int slot, pin = *pinp;