On Fri, 23 Jan 2004, Mario Loritz wrote:

> Hello list,
> 
> I reproduced the error message while the driver is loading:

Could you try the patch bellow?

                                        Jaroslav

Index: pnp.h
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/support/pnp/pnp.h,v
retrieving revision 1.4
diff -u -r1.4 pnp.h
--- pnp.h       5 Sep 2003 17:44:12 -0000       1.4
+++ pnp.h       23 Jan 2004 10:25:28 -0000
@@ -186,7 +186,7 @@
 
 #define pnp_resource_change(resource, start, size) isapnp_resource_change(resource, 
start, size)
 
-#if defined(CONFIG_PNP)
+#if defined(CONFIG_PNP) && (!defined(ALSA_BUILD) || defined(CONFIG_PNP_KERNEL))
 
 struct pnp_dev * pnp_request_card_device(struct pnp_card_link *clink, const char * 
id, struct pnp_dev * from);
 void pnp_release_card_device(struct pnp_dev * dev);

-----
Jaroslav Kysela <[EMAIL PROTECTED]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to