VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git] / sound / pci / ice1712 / ice1724.c
index a7a55a9..60fb189 100644 (file)
@@ -1071,7 +1071,7 @@ static int snd_vt1724_playback_indep_open(snd_pcm_substream_t *substream)
                return -EBUSY; /* FIXME: should handle blocking mode properly */
        }
        up(&ice->open_mutex);
-       runtime->private_data = (void*)(1 << (substream->number + 4));
+       runtime->private_data = (void*)(1UL << (substream->number + 4));
        ice->playback_con_substream_ds[substream->number] = substream;
        runtime->hw = snd_vt1724_2ch_stereo;
        snd_pcm_set_sync(substream);
@@ -1815,7 +1815,7 @@ static struct snd_ice1712_card_info *card_tables[] __devinitdata = {
        snd_vt1724_revo_cards,
        snd_vt1724_amp_cards, 
        snd_vt1724_aureon_cards,
-       0,
+       NULL,
 };