diff options
Diffstat (limited to 'arch/mips/ath79/pci.c')
-rw-r--r-- | arch/mips/ath79/pci.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/mips/ath79/pci.c b/arch/mips/ath79/pci.c index 730c0b03060d..b816cb4a25ff 100644 --- a/arch/mips/ath79/pci.c +++ b/arch/mips/ath79/pci.c | |||
@@ -22,10 +22,10 @@ | |||
22 | #include "pci.h" | 22 | #include "pci.h" |
23 | 23 | ||
24 | static int (*ath79_pci_plat_dev_init)(struct pci_dev *dev); | 24 | static int (*ath79_pci_plat_dev_init)(struct pci_dev *dev); |
25 | static const struct ath79_pci_irq *ath79_pci_irq_map __initdata; | 25 | static const struct ath79_pci_irq *ath79_pci_irq_map; |
26 | static unsigned ath79_pci_nr_irqs __initdata; | 26 | static unsigned ath79_pci_nr_irqs; |
27 | 27 | ||
28 | static const struct ath79_pci_irq ar71xx_pci_irq_map[] __initconst = { | 28 | static const struct ath79_pci_irq ar71xx_pci_irq_map[] = { |
29 | { | 29 | { |
30 | .slot = 17, | 30 | .slot = 17, |
31 | .pin = 1, | 31 | .pin = 1, |
@@ -41,7 +41,7 @@ static const struct ath79_pci_irq ar71xx_pci_irq_map[] __initconst = { | |||
41 | } | 41 | } |
42 | }; | 42 | }; |
43 | 43 | ||
44 | static const struct ath79_pci_irq ar724x_pci_irq_map[] __initconst = { | 44 | static const struct ath79_pci_irq ar724x_pci_irq_map[] = { |
45 | { | 45 | { |
46 | .slot = 0, | 46 | .slot = 0, |
47 | .pin = 1, | 47 | .pin = 1, |
@@ -49,7 +49,7 @@ static const struct ath79_pci_irq ar724x_pci_irq_map[] __initconst = { | |||
49 | } | 49 | } |
50 | }; | 50 | }; |
51 | 51 | ||
52 | static const struct ath79_pci_irq qca955x_pci_irq_map[] __initconst = { | 52 | static const struct ath79_pci_irq qca955x_pci_irq_map[] = { |
53 | { | 53 | { |
54 | .bus = 0, | 54 | .bus = 0, |
55 | .slot = 0, | 55 | .slot = 0, |
@@ -64,7 +64,7 @@ static const struct ath79_pci_irq qca955x_pci_irq_map[] __initconst = { | |||
64 | }, | 64 | }, |
65 | }; | 65 | }; |
66 | 66 | ||
67 | int __init pcibios_map_irq(const struct pci_dev *dev, uint8_t slot, uint8_t pin) | 67 | int pcibios_map_irq(const struct pci_dev *dev, uint8_t slot, uint8_t pin) |
68 | { | 68 | { |
69 | int irq = -1; | 69 | int irq = -1; |
70 | int i; | 70 | int i; |