summaryrefslogtreecommitdiffstats
path: root/arch/efi/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2015-05-21 07:26:00 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2015-05-22 08:00:48 +0200
commit9e7d9a5f2ac5dd56e5b3718ea44049907170898b (patch)
tree6314dc456270c4f8c44b8a42cc31a0d454abf7e8 /arch/efi/include
parent6984e82c84e7c1b5390bd4d7450d89814e3840f1 (diff)
downloadbarebox-9e7d9a5f2ac5dd56e5b3718ea44049907170898b.tar.gz
barebox-9e7d9a5f2ac5dd56e5b3718ea44049907170898b.tar.xz
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 <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/efi/include')
-rw-r--r--arch/efi/include/asm/types.h4
1 files changed, 0 insertions, 4 deletions
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