linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* fix dmasound compile error for tas300x
@ 2006-12-17 13:38 marvin
  2006-12-17 23:58 ` Michael Ellerman
  0 siblings, 1 reply; 2+ messages in thread
From: marvin @ 2006-12-17 13:38 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 184 bytes --]


hi,

I need the attached patch to compile the awacs/dmasound driver. There is still 
some warning, but I don't know how to fix it. Only build tested because I'm 
using alsa ...

Marc

[-- Attachment #2: fix_compile_tas300x.diff --]
[-- Type: text/x-diff, Size: 981 bytes --]

diff --git a/sound/oss/dmasound/tas3001c.c b/sound/oss/dmasound/tas3001c.c
index f227c9f..75a110e 100644
--- a/sound/oss/dmasound/tas3001c.c
+++ b/sound/oss/dmasound/tas3001c.c
@@ -823,7 +823,7 @@ tas3001c_init(struct i2c_client *client)
 			tas3001c_write_biquad_shadow(self, i, j,
 				&tas3001c_eq_unity);
 
-	INIT_WORK(&device_change, tas3001c_device_change_handler, self);
+	INIT_WORK(&device_change, tas3001c_device_change_handler);
 	return 0;
 }
 
diff --git a/sound/oss/dmasound/tas3004.c b/sound/oss/dmasound/tas3004.c
index 82eaaca..bf18d43 100644
--- a/sound/oss/dmasound/tas3004.c
+++ b/sound/oss/dmasound/tas3004.c
@@ -1112,7 +1112,7 @@ tas3004_init(struct i2c_client *client)
 	tas3004_write_register(self, TAS3004_REG_MCR2, &mcr2, WRITE_SHADOW);
 	tas3004_write_register(self, TAS3004_REG_DRC, drce_init, WRITE_SHADOW);
 
-	INIT_WORK(&device_change, tas3004_device_change_handler, self);
+	INIT_WORK(&device_change, tas3004_device_change_handler);
 	return 0;
 }
 

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

end of thread, other threads:[~2006-12-17 23:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-17 13:38 fix dmasound compile error for tas300x marvin
2006-12-17 23:58 ` Michael Ellerman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).