From 77c7c05d583b5a2e75c9da45b8a42e9f2c52cb42 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Sun, 9 Sep 2001 21:38:40 +0000 Subject: [PATCH] new compatibility header for *_mem_region() functions --- include/linux/ioport.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 include/linux/ioport.h 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 + -- 2.26.2