Build failure in -next due to 'PCI: versatile: Convert PCI scan API to pci_scan_root_bus_bridge()'

From: Guenter Roeck
Date: Tue Jun 27 2017 - 22:31:05 EST


drivers/pci/host/pci-versatile.c: In function 'versatile_pci_probe':
drivers/pci/host/pci-versatile.c:131:38: error: 'dev' undeclared
bridge = devm_pci_alloc_host_bridge(dev, 0);

Was this code ever compiled, much less tested ?

Guenter