]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/core/pcm_memory.c
Merge branch 'for-2.6.20' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris...
[linux-2.6-omap-h63xx.git] / sound / core / pcm_memory.c
index 067d2056db9a65569580945f3e9d1529de32dce0..be030cb4d373207751fa516ea1b13534b8d143c4 100644 (file)
@@ -101,7 +101,7 @@ int snd_pcm_lib_preallocate_free(struct snd_pcm_substream *substream)
 {
        snd_pcm_lib_preallocate_dma_free(substream);
 #ifdef CONFIG_SND_VERBOSE_PROCFS
-       snd_info_unregister(substream->proc_prealloc_entry);
+       snd_info_free_entry(substream->proc_prealloc_entry);
        substream->proc_prealloc_entry = NULL;
 #endif
        return 0;