--- ./drivers/sound/cmpci.c.orig Sun Mar 28 11:19:12 2004 +++ ./drivers/sound/cmpci.c Sun Mar 28 11:19:44 2004 @@ -3305,7 +3305,6 @@ struct cm_state *s; mm_segment_t fs; int i, val, ret; - unsigned char reg_mask = 0; struct { unsigned short deviceid; char *devicename; @@ -3381,6 +3380,7 @@ printk(KERN_ERR "cmpci: io ports %#x-%#x in use\n", s->iomidi, s->iomidi+CM_EXTENT_MIDI-1); s->iomidi = 0; } else { + unsigned char reg_mask = 0; /* set IO based at 0x330 */ switch (s->iomidi) { case 0x330: @@ -3415,6 +3415,7 @@ printk(KERN_ERR "cmpci: io ports %#x-%#x in use\n", s->iosynth, s->iosynth+CM_EXTENT_SYNTH-1); s->iosynth = 0; } else { + unsigned char reg_mask = 0; /* set IO based at 0x388 */ switch (s->iosynth) { case 0x388: