From: Frank Mori Hess Date: Sun, 9 Sep 2001 21:38:40 +0000 (+0000) Subject: new compatibility header for *_mem_region() functions X-Git-Tag: r0_7_61~109 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=77c7c05d583b5a2e75c9da45b8a42e9f2c52cb42;p=comedi.git new compatibility header for *_mem_region() functions --- diff --git a/include/linux/ioport.h b/include/linux/ioport.h new file mode 100644 index 00000000..d5e7eebf --- /dev/null +++ b/include/linux/ioport.h @@ -0,0 +1,19 @@ +// linux/ioport.h compatibility header + +#ifndef _COMPAT_IOPORT_H +#define _COMPAT_IOPORT_H + +#include + +#if KERNEL_VERSION_CODE < KERNEL_VERSION(2,3,17) + +#define check_mem_region(start,n) 0 +#define request_mem_region(start,ni,name) 0 +#define release_mem_region(start,n) 0 + +#endif + +#include_next + +#endif // _COMPAT_IOPORT_H +