From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Testers of M-Audio Delta/Audiophile cards wanted Date: Thu, 19 Sep 2002 17:13:28 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: Mime-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: multipart/mixed; boundary="Multipart_Thu_Sep_19_17:13:27_2002-1" Return-path: In-Reply-To: Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Tim Goetze Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org --Multipart_Thu_Sep_19_17:13:27_2002-1 Content-Type: text/plain; charset=US-ASCII At Thu, 19 Sep 2002 17:06:08 +0200 (CEST), Tim Goetze wrote: > > much simpler. you did a c++ style auto variable allocation, declare > 'ak' at the start of snd_ice1712_ews_init and it compiles cleanly. oops, never noticed that. i relied too much upon the compiler. well, this means that gcc-3.2 accepts this style as normal C...? will be fixed once when cvs server is repaired. thanks, Takashi --Multipart_Thu_Sep_19_17:13:27_2002-1 Content-Type: application/octet-stream Content-Disposition: attachment; filename="ews-fix.dif" Content-Transfer-Encoding: 7bit Index: alsa-kernel/pci/ice1712/ews.c =================================================================== RCS file: /suse/tiwai/cvs/alsa/alsa-kernel/pci/ice1712/ews.c,v retrieving revision 1.3 diff -u -r1.3 ews.c --- alsa-kernel/pci/ice1712/ews.c 16 Sep 2002 10:12:31 -0000 1.3 +++ alsa-kernel/pci/ice1712/ews.c 19 Sep 2002 15:09:01 -0000 @@ -325,6 +325,7 @@ static int __devinit snd_ice1712_ews_init(ice1712_t *ice) { int err; + ak4524_t *ak; /* set the analog DACs */ switch (ice->eeprom.subvendor) { @@ -400,7 +401,7 @@ } /* analog section */ - ak4524_t *ak = &ice->ak4524; + ak = &ice->ak4524; switch (ice->eeprom.subvendor) { case ICE1712_SUBDEVICE_EWS88MT: ak->num_adcs = ak->num_dacs = 8; --Multipart_Thu_Sep_19_17:13:27_2002-1-- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf