diff options
Diffstat (limited to 'arch/xtensa')
-rw-r--r-- | arch/xtensa/kernel/pci.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/xtensa/kernel/pci.c b/arch/xtensa/kernel/pci.c index eb30e356f5be..69759e9cb3ea 100644 --- a/arch/xtensa/kernel/pci.c +++ b/arch/xtensa/kernel/pci.c | |||
@@ -46,7 +46,6 @@ | |||
46 | * pcibios_fixups | 46 | * pcibios_fixups |
47 | * pcibios_align_resource | 47 | * pcibios_align_resource |
48 | * pcibios_fixup_bus | 48 | * pcibios_fixup_bus |
49 | * pcibios_setup | ||
50 | * pci_bus_add_device | 49 | * pci_bus_add_device |
51 | * pci_mmap_page_range | 50 | * pci_mmap_page_range |
52 | */ | 51 | */ |
@@ -187,7 +186,7 @@ static int __init pcibios_init(void) | |||
187 | bus = pci_scan_root_bus(NULL, pci_ctrl->first_busno, | 186 | bus = pci_scan_root_bus(NULL, pci_ctrl->first_busno, |
188 | pci_ctrl->ops, pci_ctrl, &resources); | 187 | pci_ctrl->ops, pci_ctrl, &resources); |
189 | pci_ctrl->bus = bus; | 188 | pci_ctrl->bus = bus; |
190 | pci_ctrl->last_busno = bus->subordinate; | 189 | pci_ctrl->last_busno = bus->busn_res.end; |
191 | if (next_busno <= pci_ctrl->last_busno) | 190 | if (next_busno <= pci_ctrl->last_busno) |
192 | next_busno = pci_ctrl->last_busno+1; | 191 | next_busno = pci_ctrl->last_busno+1; |
193 | } | 192 | } |
@@ -206,11 +205,6 @@ void __init pcibios_fixup_bus(struct pci_bus *bus) | |||
206 | } | 205 | } |
207 | } | 206 | } |
208 | 207 | ||
209 | char __init *pcibios_setup(char *str) | ||
210 | { | ||
211 | return str; | ||
212 | } | ||
213 | |||
214 | void pcibios_set_master(struct pci_dev *dev) | 208 | void pcibios_set_master(struct pci_dev *dev) |
215 | { | 209 | { |
216 | /* No special bus mastering setup handling */ | 210 | /* No special bus mastering setup handling */ |