From: Frank Mori Hess Date: Fri, 3 May 2002 02:27:56 +0000 (+0000) Subject: added typedef of dma_addr_t for earlier 2.2 kernels X-Git-Tag: r0_7_65~67 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=755739592fbbb70073c6546a71cb470aa4405fab;p=comedi.git added typedef of dma_addr_t for earlier 2.2 kernels --- 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_ +