[PATCH] use device_for_each_child() to properly access child devices.
authorlong <tlnguyen@snoqualmie.dp.intel.com>
Tue, 29 Mar 2005 21:36:43 +0000 (13:36 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Jun 2005 22:15:26 +0000 (15:15 -0700)
commitd0e2b4a0a9dd3eed71b56c47268bf4e40cff6d0f
tree567d849ed870807599d439e459e1bbe3cfec2877
parent64360322ab3330d4881166380ad43a1eec2f123d
[PATCH] use device_for_each_child() to properly access child devices.

On Friday, March 25, 2005 8:47 PM Greg KH wrote:
>Here's a fix for pci express.  For some reason I don't think they are
>using the driver model properly here, but I could be wrong...

Thanks for making the changes. However, changes in functions:
void pcie_port_device_remove(struct pci_dev *dev) and
static int remove_iter(struct device *dev, void *data)
are not correct. Please use the patch, which is based on kernel
2.6.12-rc1, below for a fix for these.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/pcie/portdrv_core.c