Re: [PATCH] fix for "Too many arguments for pnp_activate_dev()"

From: $B5HF#1QL@(
Date: Wed Feb 26 2003 - 00:56:59 EST


In article <20030226.144806.06041481.yoshfuji@linux-ipv6.org> (at Wed, 26 Feb 2003 14:48:06 +0900 (JST)), YOSHIFUJI Hideaki / $B5HF#1QL@(B <yoshfuji@linux-ipv6.org> says:

> > The 2.5.63 kernel contains changes to pnp.h that mean the template arg
> > is nolonger there. The object compiles with this patch.
>
> Yes, I sent similar patch yesterday.
> Here's the revised patch for other drivers, too.

Ah, ChangeSet 1.1057 has fixed most of this problem.
http://linux.bkbits.net:8080/linux-2.5/cset@1.1057?nav=index.html

Please apply following patch.

Index: sound/oss/ad1848.c
===================================================================
RCS file: /cvsroot/usagi/usagi/kernel/linux25/sound/oss/ad1848.c,v
retrieving revision 1.1.1.9
diff -u -r1.1.1.9 ad1848.c
--- sound/oss/ad1848.c 16 Feb 2003 04:06:51 -0000 1.1.1.9
+++ sound/oss/ad1848.c 26 Feb 2003 05:34:51 -0000
@@ -2987,7 +2987,7 @@
         if (err < 0)
                 return(NULL);
 
- if((err = pnp_activate_dev(dev,NULL)) < 0) {
+ if((err = pnp_activate_dev(dev)) < 0) {
                 printk(KERN_ERR "ad1848: %s %s config failed (out of resources?)[%d]\n", devname, resname, err);
 
                 pnp_device_detach(dev);

-- 
Hideaki YOSHIFUJI @ USAGI Project <yoshfuji@linux-ipv6.org>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF  80D8 4807 F894 E062 0EEA
-
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 Feb 28 2003 - 22:00:34 EST