Commit b65c581a authored by Russell King's avatar Russell King

[PCI] pci-11: use u32 for bus numbers/latency not unsigned long

pci_read_config_dword() takes a u32 pointer, not unsigned long.
parent 8ce306e1
...@@ -291,9 +291,9 @@ static unsigned int __devinit pci_scan_child_bus(struct pci_bus *bus); ...@@ -291,9 +291,9 @@ static unsigned int __devinit pci_scan_child_bus(struct pci_bus *bus);
*/ */
int __devinit pci_scan_bridge(struct pci_bus *bus, struct pci_dev * dev, int max, int pass) int __devinit pci_scan_bridge(struct pci_bus *bus, struct pci_dev * dev, int max, int pass)
{ {
unsigned int buses;
struct pci_bus *child; struct pci_bus *child;
int is_cardbus = (dev->hdr_type == PCI_HEADER_TYPE_CARDBUS); int is_cardbus = (dev->hdr_type == PCI_HEADER_TYPE_CARDBUS);
u32 buses;
pci_read_config_dword(dev, PCI_PRIMARY_BUS, &buses); pci_read_config_dword(dev, PCI_PRIMARY_BUS, &buses);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment