diff options
Diffstat (limited to 'arch/mips/include/asm/pci.h')
-rw-r--r-- | arch/mips/include/asm/pci.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/include/asm/pci.h b/arch/mips/include/asm/pci.h index 974b0e308963..69529624a005 100644 --- a/arch/mips/include/asm/pci.h +++ b/arch/mips/include/asm/pci.h | |||
@@ -84,7 +84,7 @@ static inline void pci_resource_to_user(const struct pci_dev *dev, int bar, | |||
84 | const struct resource *rsrc, resource_size_t *start, | 84 | const struct resource *rsrc, resource_size_t *start, |
85 | resource_size_t *end) | 85 | resource_size_t *end) |
86 | { | 86 | { |
87 | phys_t size = resource_size(rsrc); | 87 | phys_addr_t size = resource_size(rsrc); |
88 | 88 | ||
89 | *start = fixup_bigphys_addr(rsrc->start, size); | 89 | *start = fixup_bigphys_addr(rsrc->start, size); |
90 | *end = rsrc->start + size; | 90 | *end = rsrc->start + size; |