From d22e25bf9b881abaeb8effea673c51da0745eac2 Mon Sep 17 00:00:00 2001 From: Russell King Date: Sun, 11 Apr 2004 01:29:54 +0100 Subject: [PCMCIA] Re-export pci_bus_alloc_resource() from PCI code. Since PCMCIA now uses this, re-export it. --- include/linux/pci.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/linux') diff --git a/include/linux/pci.h b/include/linux/pci.h index 3f2b4949a65e..a6ba538f2d14 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -676,6 +676,12 @@ int pci_request_region(struct pci_dev *, int, char *); void pci_release_region(struct pci_dev *, int); /* drivers/pci/bus.c */ +int pci_bus_alloc_resource(struct pci_bus *bus, struct resource *res, + unsigned long size, unsigned long align, + unsigned long min, unsigned int type_mask, + void (*alignf)(void *, struct resource *, + unsigned long, unsigned long), + void *alignf_data); void pci_enable_bridges(struct pci_bus *bus); /* New-style probing supporting hot-pluggable devices */ -- cgit v1.2.3