pci: Additional search functions
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Mon, 16 Oct 2006 23:20:21 +0000 (16:20 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 18 Oct 2006 18:36:12 +0000 (11:36 -0700)
commit29f3eb64634cf96903a3cdb56b1f9a80bebad17d
treed72f67470fcca932d42e9f38e6b9a03a49df30b3
parent11f242f04c6d886494cc83097cb6def044eabebb
pci: Additional search functions

In order to finish converting to pci_get_* interfaces we need to add a couple
of bits of missing functionaility

pci_get_bus_and_slot() provides the equivalent to pci_find_slot()
(pci_get_slot is already taken as a name for something similar but not the
same)

pci_get_device_reverse() is the equivalent of pci_find_device_reverse but
refcounting

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/search.c
include/linux/pci.h