i82875p_edac: Assign PCI resources before adding device
authorYinghai Lu <yinghai@kernel.org>
Tue, 7 May 2013 23:29:31 +0000 (16:29 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 30 May 2014 16:56:46 +0000 (10:56 -0600)
commit06b00514b7f931eb94e3f56009ece8ae55488150
tree039f7ddc084a9b5892fb95a858b75143a2fe5363
parent67d29b5c6c40e91b124695e9250c2fd24915e24a
i82875p_edac: Assign PCI resources before adding device

Assign PCI resources before pci_bus_add_device().  The resources must be
assigned before a driver can claim the device.

[bhelgaas: changelog]
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/edac/i82875p_edac.c