Skip to contentSkip to conversation

sc1200wdt.c, isapnp_find_device -> pnp_find_device

PATCH In review Craig Rodrigues 2 participants 2 messages Jan 29, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

char/watchdog/sc1200wdt.c renamed from char/watchdog/sc1200wdt.c.orig +1 -1
@@ -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;
 	
Signature · 3 lines
Craig Rodrigues        
http://home.attbi.com/~rodrigc
[email protected]
#1 lore raw
Quoted 2 lines · Craig Rodrigues

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

Adam Belay sent a more complete set of fixes on the 26th.

Dave

Signature · 2 lines
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs