]> Pileus Git - ~andy/linux/blobdiff - include/linux/types.h
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid
[~andy/linux] / include / linux / types.h
index c2a9eb44f2fa974cc7ac15a35ae9c184c1e6773f..176da8c1fbb180e20a925ba79e80420bdf66b7a9 100644 (file)
@@ -150,6 +150,12 @@ typedef unsigned long blkcnt_t;
 #define pgoff_t unsigned long
 #endif
 
+#ifdef CONFIG_ARCH_DMA_ADDR_T_64BIT
+typedef u64 dma_addr_t;
+#else
+typedef u32 dma_addr_t;
+#endif /* dma_addr_t */
+
 #endif /* __KERNEL__ */
 
 /*