Commit 4220f3d3 authored by Patrick Mochel's avatar Patrick Mochel

PCI: Make sure id_table is passed to probe callback

parent 10806930
...@@ -18,7 +18,7 @@ static int pci_device_probe(struct device * dev) ...@@ -18,7 +18,7 @@ static int pci_device_probe(struct device * dev)
struct pci_dev * pci_dev = list_entry(dev,struct pci_dev,dev); struct pci_dev * pci_dev = list_entry(dev,struct pci_dev,dev);
if (drv->probe) if (drv->probe)
error = drv->probe(pci_dev,NULL); error = drv->probe(pci_dev,drv->id_table);
return error > 0 ? 0 : -ENODEV; return error > 0 ? 0 : -ENODEV;
} }
......
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