]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitca1dacc26f0a12b0dc8647e88cc5ef27c7f51290
tree3cd4765b54f417b175366fd45a2234d992c14196
parent88955837710f70906ec4f08dd3f844c8aeff4140
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