summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/dma-direct.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/include/asm/dma-direct.h')
-rw-r--r--arch/powerpc/include/asm/dma-direct.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/dma-direct.h b/arch/powerpc/include/asm/dma-direct.h
index 95b09313d2a4..128304cbee1d 100644
--- a/arch/powerpc/include/asm/dma-direct.h
+++ b/arch/powerpc/include/asm/dma-direct.h
@@ -2,7 +2,7 @@
#ifndef ASM_POWERPC_DMA_DIRECT_H
#define ASM_POWERPC_DMA_DIRECT_H 1
-static inline dma_addr_t __phys_to_dma(struct device *dev, phys_addr_t paddr)
+static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr)
{
return paddr + dev->archdata.dma_offset;
}