2003-01-29 06:10:14

by Craig Rodrigues

[permalink] [raw]
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
[email protected]


2003-01-29 12:30:37

by Dave Jones

[permalink] [raw]
Subject: Re: [PATCH 2.5.59] sc1200wdt.c, isapnp_find_device -> pnp_find_device

On Wed, Jan 29, 2003 at 01:19:51AM -0500, Craig Rodrigues wrote:

> 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

--
| Dave Jones. http://www.codemonkey.org.uk
| SuSE Labs