[patch] remove call to check_region in drivers/pnp/resource.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch removes a call to check_region in drivers/pnp/resource.c, and replaces it with request_region.
signed-off-by: Ameer Armaly <[email protected]>
--- 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux