public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2.4-ac] Via 8233 Sound not working
@ 2002-12-12 20:08 Nathaniel Russell
  2002-12-12 20:10 ` Alan Cox
  0 siblings, 1 reply; 2+ messages in thread
From: Nathaniel Russell @ 2002-12-12 20:08 UTC (permalink / raw)
  To: alan; +Cc: linux-kernel

[-- Attachment #1: Type: TEXT/PLAIN, Size: 251 bytes --]

I needed this patch to compile so i just commented the
synchronize_irq bit out. I have included the patch and the error message.
This is a temp fix i don't know if this is correct or not.
Nathaniel
CC me at reddog83@chartermi.net as im not subscribed

[-- Attachment #2: Via 8233 --]
[-- Type: TEXT/PLAIN, Size: 421 bytes --]

diff -urN linux-ac/drivers/sound/via82cxxx_audio.c linux/drivers/sound/via82cxxx_audio.c
--- linux-ac/drivers/sound/via82cxxx_audio.c	2002-12-12 03:21:04.000000000 -0500
+++ linux/drivers/sound/via82cxxx_audio.c	2002-12-12 14:54:36.000000000 -0500
@@ -885,7 +885,7 @@
 
 	spin_unlock_irq (&card->lock);
 
-	synchronize_irq(card->pdev->irq);
+/*	synchronize_irq(card->pdev->irq); */
 
 	DPRINTK ("EXIT\n");
 }

[-- Attachment #3: Error Message from Compile --]
[-- Type: TEXT/PLAIN, Size: 468 bytes --]

via82cxxx_audio.c:888:40: macro "synchronize_irq" passed 1 arguments, but takes just 0
via82cxxx_audio.c: In function `via_chan_free':
via82cxxx_audio.c:888: `synchronize_irq' undeclared (first use in this function)
via82cxxx_audio.c:888: (Each undeclared identifier is reported only once
via82cxxx_audio.c:888: for each function it appears in.)
make[2]: *** [via82cxxx_audio.o] Error 1
make[1]: *** [_modsubdir_sound] Error 2
make: *** [_mod_drivers] Error 2

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 2.4-ac] Via 8233 Sound not working
  2002-12-12 20:08 [PATCH 2.4-ac] Via 8233 Sound not working Nathaniel Russell
@ 2002-12-12 20:10 ` Alan Cox
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2002-12-12 20:10 UTC (permalink / raw)
  To: Nathaniel Russell; +Cc: alan, linux-kernel

Humm I didnt build it SMP so missed that case I guess. CHange to

	synchronize_irq()



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-12-12 20:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-12 20:08 [PATCH 2.4-ac] Via 8233 Sound not working Nathaniel Russell
2002-12-12 20:10 ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox