]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
PCI: Create __pci_bus_find_cap_start() from __pci_bus_find_cap()
authorMichael Ellerman <michael@ellerman.id.au>
Wed, 22 Nov 2006 07:26:16 +0000 (18:26 +1100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 20 Dec 2006 18:54:42 +0000 (10:54 -0800)
commitd3bac118fb27a365d5e9f54f4a078eb9b42f968f
tree0443f7d5fd25d011bebb5f1e67223c96336565a2
parentd86f90f9913d27bb968132bf63499c56bca56db6
PCI: Create __pci_bus_find_cap_start() from __pci_bus_find_cap()

The current implementation of __pci_bus_find_cap() does two things,
first it determines the start of the capability chain for the device,
and then it trys to find the requested capability.

Split these out, so that we can use the two parts independantly in
a subsequent patch. Externally visible behaviour should be unchanged.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/pci.c