[PATCH 2.5.59] sc1200wdt.c, isapnp_find_device -> pnp_find_device

From: Craig Rodrigues (rodrigc@attbi.com)
Date: Wed Jan 29 2003 - 01:19:51 EST


Hi,

The following patch renames isapnp_find_device() to pnp_find_device(),
since isapnp_find_device() doesn't exist in the 2.5.59 kernel.

--- drivers/char/watchdog/sc1200wdt.c.orig Wed Jan 29 00:47:50 2003
+++ drivers/char/watchdog/sc1200wdt.c Wed Jan 29 00:47:53 2003
@@ -335,7 +335,7 @@
         int ret;
 
         /* The WDT is logical device 8 on the main device */
- wdt_dev = isapnp_find_dev(NULL, ISAPNP_VENDOR('N','S','C'), ISAPNP_FUNCTION(0x08), NULL);
+ wdt_dev = pnp_find_dev(NULL, ISAPNP_VENDOR('N','S','C'), ISAPNP_FUNCTION(0x08), NULL);
         if (!wdt_dev)
                 return -ENODEV;
         

-- 
Craig Rodrigues        
http://home.attbi.com/~rodrigc
rodrigc@attbi.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jan 31 2003 - 22:00:21 EST