summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/pci.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2014-11-22 00:22:09 +0100
committerRalf Baechle <ralf@linux-mips.org>2014-11-24 22:47:31 +0100
commit15d45cce3a0e0716fa49c768f887c6406dfb91f7 (patch)
treee2235d1a04b61a6c2100f781474e37bda78f5770 /arch/mips/include/asm/pci.h
parent34adb28d500e644cc260da4ceb66ba6dc0beaf93 (diff)
MIPS: Replace use of phys_t with phys_addr_t.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/pci.h')
-rw-r--r--arch/mips/include/asm/pci.h2
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,
const struct resource *rsrc, resource_size_t *start,
resource_size_t *end)
{
- phys_t size = resource_size(rsrc);
+ phys_addr_t size = resource_size(rsrc);
*start = fixup_bigphys_addr(rsrc->start, size);
*end = rsrc->start + size;