[PATCH] 2.6.13 - 2/3 - Remove the deprecated function __check_region

From: Stephane Wirtel
Date: Tue Aug 30 2005 - 12:07:52 EST


Hi all,

Here is the second patch for kernel 2.6.13 from Linus tree.

--
Stephane Wirtel <stephane.wirtel@xxxxxxxxxxxx>
<stephane.wirtel@xxxxxxxxx>


diff --git a/include/linux/ioport.h b/include/linux/ioport.h
--- a/include/linux/ioport.h
+++ b/include/linux/ioport.h
@@ -114,7 +114,6 @@ extern struct resource * __request_regio

/* Compatibility cruft */
#define release_region(start,n) __release_region(&ioport_resource, (start), (n))
-#define check_mem_region(start,n) __check_region(&iomem_resource, (start), (n))
#define release_mem_region(start,n) __release_region(&iomem_resource, (start), (n))

extern int __check_region(struct resource *, unsigned long, unsigned long);