PCI: add is_added flag to struct pci_dev
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 14 Feb 2008 22:56:56 +0000 (14:56 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Apr 2008 04:47:00 +0000 (21:47 -0700)
commit8a1bc9013a03d41a0e36ee413bb6f97281b30bd1
tree83c01850e1779e37be1d9db0f87436b09b89f3fe
parent70308923d317f2ad4973c30d90bb48ae38761317
PCI: add is_added flag to struct pci_dev

This lets us check if the device is really added to the driver core or
not, which is what we need when walking some of the bus lists.  The flag
is there in anticipation of getting rid of the other PCI device list,
which is what we used to check in this situation.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/powerpc/platforms/pseries/pci_dlpar.c
drivers/pci/bus.c
drivers/pci/probe.c
drivers/pci/remove.c
include/linux/pci.h