X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=lib%2Fdevres.c;h=9676617b44863fb1b19148abf2964beff1739c13;hb=c77ef898625f558c89c6ca0b27e2032f0fad4196;hp=4fbc09e6e9e6f9a83dbdc14ba99bfb1328bef577;hpb=9ee6045f09a7875ebe55b9942b232a19076b157b;p=~andy%2Flinux diff --git a/lib/devres.c b/lib/devres.c index 4fbc09e6e9e..9676617b448 100644 --- a/lib/devres.c +++ b/lib/devres.c @@ -304,7 +304,7 @@ EXPORT_SYMBOL(pcim_iounmap); * * Request and iomap regions specified by @mask. */ -int pcim_iomap_regions(struct pci_dev *pdev, u16 mask, const char *name) +int pcim_iomap_regions(struct pci_dev *pdev, int mask, const char *name) { void __iomem * const *iomap; int i, rc; @@ -357,7 +357,7 @@ EXPORT_SYMBOL(pcim_iomap_regions); * * Request all PCI BARs and iomap regions specified by @mask. */ -int pcim_iomap_regions_request_all(struct pci_dev *pdev, u16 mask, +int pcim_iomap_regions_request_all(struct pci_dev *pdev, int mask, const char *name) { int request_mask = ((1 << 6) - 1) & ~mask; @@ -381,7 +381,7 @@ EXPORT_SYMBOL(pcim_iomap_regions_request_all); * * Unmap and release regions specified by @mask. */ -void pcim_iounmap_regions(struct pci_dev *pdev, u16 mask) +void pcim_iounmap_regions(struct pci_dev *pdev, int mask) { void __iomem * const *iomap; int i;