[patch] remove call to check_region in drivers/pnp/resource.c
From: Ameer Armaly
Date: Fri Aug 19 2005 - 22:46:48 EST
This patch removes a call to check_region in drivers/pnp/resource.c, and
replaces it with request_region.
signed-off-by: Ameer Armaly <ameerarmaly@xxxxxxxxxxxxx>
--- drivers/pnp/resource.c 2005-08-05 03:04:37.000000000 -0400
+++ drivers/pnp/resource.new 2005-08-18 20:46:34.000000000 -0400
@@ -252,7 +252,7 @@ int pnp_check_port(struct pnp_dev * dev,
/* check if the resource is already in use, skip if the
* device is active because it itself may be in use */
if(!dev->active) {
- if (__check_region(&ioport_resource, *port, length(port,end)))
+ if (request_region(&ioport_resource, *port, length(port,end)))
return 0;
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/