aboutsummaryrefslogtreecommitdiffstats
path: root/arch/alpha/kernel/sys_sio.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/alpha/kernel/sys_sio.c')
-rw-r--r--arch/alpha/kernel/sys_sio.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/alpha/kernel/sys_sio.c b/arch/alpha/kernel/sys_sio.c
index febd24eba7a6..9fd2895639d5 100644
--- a/arch/alpha/kernel/sys_sio.c
+++ b/arch/alpha/kernel/sys_sio.c
@@ -144,7 +144,7 @@ sio_fixup_irq_levels(unsigned int level_bits)
144 outb((level_bits >> 8) & 0xff, 0x4d1); 144 outb((level_bits >> 8) & 0xff, 0x4d1);
145} 145}
146 146
147static inline int __init 147static inline int
148noname_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) 148noname_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
149{ 149{
150 /* 150 /*
@@ -165,7 +165,7 @@ noname_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
165 * that they use the default INTA line, if they are interrupt 165 * that they use the default INTA line, if they are interrupt
166 * driven at all). 166 * driven at all).
167 */ 167 */
168 static char irq_tab[][5] __initdata = { 168 static char irq_tab[][5] = {
169 /*INT A B C D */ 169 /*INT A B C D */
170 { 3, 3, 3, 3, 3}, /* idsel 6 (53c810) */ 170 { 3, 3, 3, 3, 3}, /* idsel 6 (53c810) */
171 {-1, -1, -1, -1, -1}, /* idsel 7 (SIO: PCI/ISA bridge) */ 171 {-1, -1, -1, -1, -1}, /* idsel 7 (SIO: PCI/ISA bridge) */
@@ -183,10 +183,10 @@ noname_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
183 return irq >= 0 ? tmp : -1; 183 return irq >= 0 ? tmp : -1;
184} 184}
185 185
186static inline int __init 186static inline int
187p2k_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) 187p2k_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
188{ 188{
189 static char irq_tab[][5] __initdata = { 189 static char irq_tab[][5] = {
190 /*INT A B C D */ 190 /*INT A B C D */
191 { 0, 0, -1, -1, -1}, /* idsel 6 (53c810) */ 191 { 0, 0, -1, -1, -1}, /* idsel 6 (53c810) */
192 {-1, -1, -1, -1, -1}, /* idsel 7 (SIO: PCI/ISA bridge) */ 192 {-1, -1, -1, -1, -1}, /* idsel 7 (SIO: PCI/ISA bridge) */