lkml.org 
[lkml]   [2003]   [Jan]   [29]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateWed, 29 Jan 2003 01:19:51 -0500
FromCraig Rodrigues <>
Subject[PATCH 2.5.59] sc1200wdt.c, isapnp_find_device -> pnp_find_device
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/

\
 
 \ /
  Last update: 2005-03-22 12:32    [from the cache]
©2003-2008