From 9e7d9a5f2ac5dd56e5b3718ea44049907170898b Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Thu, 21 May 2015 07:26:00 +0200 Subject: dma: Use generic place for dma_addr_t typedef Instead of letting all architectures define their own dma_addr_t use a common place in include/linux/types.h and use a Kconfig symbol that architectures can select to define the width of dma_addr_t. The same is done in the Kernel. Signed-off-by: Sascha Hauer --- arch/efi/include/asm/types.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'arch/efi') diff --git a/arch/efi/include/asm/types.h b/arch/efi/include/asm/types.h index 3204448dce..05122ea04e 100644 --- a/arch/efi/include/asm/types.h +++ b/arch/efi/include/asm/types.h @@ -62,10 +62,6 @@ typedef unsigned long long u64; #define BITS_PER_LONG 32 #endif -/* Dma addresses are 32-bits wide. */ - -typedef u32 dma_addr_t; - #endif /* __KERNEL__ */ #endif -- cgit v1.2.3