diff options
Diffstat (limited to 'arch/powerpc/kernel/io-workarounds.c')
-rw-r--r-- | arch/powerpc/kernel/io-workarounds.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/powerpc/kernel/io-workarounds.c b/arch/powerpc/kernel/io-workarounds.c index 12d329bcbb98..50e90b7e7139 100644 --- a/arch/powerpc/kernel/io-workarounds.c +++ b/arch/powerpc/kernel/io-workarounds.c | |||
@@ -118,7 +118,7 @@ static void iowa_##name at \ | |||
118 | #undef DEF_PCI_AC_RET | 118 | #undef DEF_PCI_AC_RET |
119 | #undef DEF_PCI_AC_NORET | 119 | #undef DEF_PCI_AC_NORET |
120 | 120 | ||
121 | static const struct ppc_pci_io __devinitconst iowa_pci_io = { | 121 | static const struct ppc_pci_io iowa_pci_io = { |
122 | 122 | ||
123 | #define DEF_PCI_AC_RET(name, ret, at, al, space, aa) .name = iowa_##name, | 123 | #define DEF_PCI_AC_RET(name, ret, at, al, space, aa) .name = iowa_##name, |
124 | #define DEF_PCI_AC_NORET(name, at, al, space, aa) .name = iowa_##name, | 124 | #define DEF_PCI_AC_NORET(name, at, al, space, aa) .name = iowa_##name, |
@@ -146,7 +146,7 @@ static void __iomem *iowa_ioremap(phys_addr_t addr, unsigned long size, | |||
146 | } | 146 | } |
147 | 147 | ||
148 | /* Enable IO workaround */ | 148 | /* Enable IO workaround */ |
149 | static void __devinit io_workaround_init(void) | 149 | static void io_workaround_init(void) |
150 | { | 150 | { |
151 | static int io_workaround_inited; | 151 | static int io_workaround_inited; |
152 | 152 | ||
@@ -158,9 +158,8 @@ static void __devinit io_workaround_init(void) | |||
158 | } | 158 | } |
159 | 159 | ||
160 | /* Register new bus to support workaround */ | 160 | /* Register new bus to support workaround */ |
161 | void __devinit iowa_register_bus(struct pci_controller *phb, | 161 | void iowa_register_bus(struct pci_controller *phb, struct ppc_pci_io *ops, |
162 | struct ppc_pci_io *ops, | 162 | int (*initfunc)(struct iowa_bus *, void *), void *data) |
163 | int (*initfunc)(struct iowa_bus *, void *), void *data) | ||
164 | { | 163 | { |
165 | struct iowa_bus *bus; | 164 | struct iowa_bus *bus; |
166 | struct device_node *np = phb->dn; | 165 | struct device_node *np = phb->dn; |