PCI: Move prototypes for pci_bus_find_capability to include/linux/pci.h
authorKumar Gala <galak@kernel.crashing.org>
Tue, 17 Jul 2007 04:27:10 +0000 (23:27 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 22 Aug 2007 21:48:40 +0000 (14:48 -0700)
commitce5ccdef1090367f3024b4d5e7908bf6bd2929ae
tree3cd4765b54f417b175366fd45a2234d992c14196
parent74e8f346d59074147c564d9c1ffd6caf18286516
PCI: Move prototypes for pci_bus_find_capability to include/linux/pci.h

We need pci_bus_find_capability() in some arch/powerpc code so move
the prototype into a header accessible to it.

Also kill the duplicate prototype for pci_bus_alloc_resource().

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/pci.h
include/linux/pci.h