From 755739592fbbb70073c6546a71cb470aa4405fab Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Fri, 3 May 2002 02:27:56 +0000 Subject: [PATCH] added typedef of dma_addr_t for earlier 2.2 kernels --- include/asm/types.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 include/asm/types.h diff --git a/include/asm/types.h b/include/asm/types.h new file mode 100644 index 00000000..f20ca188 --- /dev/null +++ b/include/asm/types.h @@ -0,0 +1,17 @@ +/* + * asm/types.h compatibility header + */ + +#ifndef __COMPAT_ASM_TYPES_H_ +#define __COMPAT_ASM_TYPES_H_ + +#include + +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,2,18) +typedef unsigned long dma_addr_t; +#endif + +#include_next + +#endif // __COMPAT_ASM_TYPES_H_ + -- 2.26.2