Update of /cvsroot/alsa/alsa-kernel/pci/ice1712
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13739

Modified Files:
        ice1712.c 
Log Message:
From: Arjan van de Ven <[EMAIL PROTECTED]>

ice1712.c: move 2 same structs to the top of the function; gcc won't share
the stackslots anyway


Index: ice1712.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/ice1712/ice1712.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- ice1712.c   24 Mar 2004 11:42:54 -0000      1.46
+++ ice1712.c   26 Mar 2004 12:25:51 -0000      1.47
@@ -1511,10 +1511,10 @@
 static int __devinit snd_ice1712_ac97_mixer(ice1712_t * ice)
 {
        int err;
+       ac97_t ac97;
+       ac97_bus_t bus, *pbus;
 
        if (ice_has_con_ac97(ice)) {
-               ac97_bus_t bus, *pbus;
-               ac97_t ac97;
                memset(&bus, 0, sizeof(bus));
                bus.write = snd_ice1712_ac97_write;
                bus.read = snd_ice1712_ac97_read;
@@ -1533,8 +1533,6 @@
        }
 
        if (! (ice->eeprom.data[ICE_EEP1_ACLINK] & ICE1712_CFG_PRO_I2S)) {
-               ac97_bus_t bus, *pbus;
-               ac97_t ac97;
                memset(&bus, 0, sizeof(bus));
                bus.write = snd_ice1712_pro_ac97_write;
                bus.read = snd_ice1712_pro_ac97_read;



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to