[PATCH] PCI setup: misc cleanups and fixes
- Use PCI_BUS_NUM_RESOURCES instead of hardcoded `4' in pci_find_parent_resource; - clean up pci_claim_resource() and make it a bit more informative on errors; - pdev_sort_resources() must be __devinit, as it's called from pbus_assign_resources_sorted(), which is __devinit now; - fix one remaining dev->name in debugging printk.
Showing
Please register or sign in to comment