lkml.org 
[lkml]   [2003]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
SubjectRe: [PATCH] fix for "Too many arguments for pnp_activate_dev()"
From
In article <20030226.144806.06041481.yoshfuji@linux-ipv6.org> (at Wed, 26 Feb 2003 14:48:06 +0900 (JST)), YOSHIFUJI Hideaki / 吉藤英明 <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/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.024 / U:3.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site