]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit42d64497c20eb0681180bff0e420a76e7dd3da70
tree83c01850e1779e37be1d9db0f87436b09b89f3fe
parentc5736ec4694d465f77434dd5ed2648e64c16674d
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