PCI: fill in bus primary field
This was erroneously left uninitialzed as nothing was using it.
The i.MX6 PCI driver needs this to be filled properly to decide
if a config space access is allowed for a specific devfn.

This fixes PCI enumeration on the Gateworks GW54xx board.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 2a8bc95 commit cbc24926213be28321fc129bdb8226d1588a3918
@Lucas Stach Lucas Stach authored on 29 Apr 2015
Sascha Hauer committed on 1 May 2015
Showing 1 changed file
View
drivers/pci/pci.c