diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/devres.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/devres.c b/lib/devres.c index 4fbc09e6e9e6..9676617b4486 100644 --- a/lib/devres.c +++ b/lib/devres.c | |||
@@ -304,7 +304,7 @@ EXPORT_SYMBOL(pcim_iounmap); | |||
304 | * | 304 | * |
305 | * Request and iomap regions specified by @mask. | 305 | * Request and iomap regions specified by @mask. |
306 | */ | 306 | */ |
307 | int pcim_iomap_regions(struct pci_dev *pdev, u16 mask, const char *name) | 307 | int pcim_iomap_regions(struct pci_dev *pdev, int mask, const char *name) |
308 | { | 308 | { |
309 | void __iomem * const *iomap; | 309 | void __iomem * const *iomap; |
310 | int i, rc; | 310 | int i, rc; |
@@ -357,7 +357,7 @@ EXPORT_SYMBOL(pcim_iomap_regions); | |||
357 | * | 357 | * |
358 | * Request all PCI BARs and iomap regions specified by @mask. | 358 | * Request all PCI BARs and iomap regions specified by @mask. |
359 | */ | 359 | */ |
360 | int pcim_iomap_regions_request_all(struct pci_dev *pdev, u16 mask, | 360 | int pcim_iomap_regions_request_all(struct pci_dev *pdev, int mask, |
361 | const char *name) | 361 | const char *name) |
362 | { | 362 | { |
363 | int request_mask = ((1 << 6) - 1) & ~mask; | 363 | int request_mask = ((1 << 6) - 1) & ~mask; |
@@ -381,7 +381,7 @@ EXPORT_SYMBOL(pcim_iomap_regions_request_all); | |||
381 | * | 381 | * |
382 | * Unmap and release regions specified by @mask. | 382 | * Unmap and release regions specified by @mask. |
383 | */ | 383 | */ |
384 | void pcim_iounmap_regions(struct pci_dev *pdev, u16 mask) | 384 | void pcim_iounmap_regions(struct pci_dev *pdev, int mask) |
385 | { | 385 | { |
386 | void __iomem * const *iomap; | 386 | void __iomem * const *iomap; |
387 | int i; | 387 | int i; |