summaryrefslogtreecommitdiff
path: root/arch/mips/loongson64/dma.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/loongson64/dma.c')
-rw-r--r--arch/mips/loongson64/dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/loongson64/dma.c b/arch/mips/loongson64/dma.c
index dbfe6e82fddd..b3dc5d0bd2b1 100644
--- a/arch/mips/loongson64/dma.c
+++ b/arch/mips/loongson64/dma.c
@@ -13,7 +13,7 @@ dma_addr_t __phys_to_dma(struct device *dev, phys_addr_t paddr)
return ((nid << 44) ^ paddr) | (nid << node_id_offset);
}
-phys_addr_t __dma_to_phys(struct device *dev, dma_addr_t daddr)
+phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr)
{
/* We extract 2bit node id (bit 44~47, only bit 44~45 used now) from
* Loongson-3's 48bit address space and embed it into 40bit */