]> err.no Git - linux-2.6/commitdiff
[ALSA] adds __init and in snd_memory_init()
authorHenrik Kretzschmar <henne@nachtwindheim.de>
Fri, 29 Jul 2005 14:59:31 +0000 (16:59 +0200)
committerJaroslav Kysela <perex@suse.cz>
Tue, 30 Aug 2005 06:43:29 +0000 (08:43 +0200)
ALSA Core
This patch adds the __init macro to snd_memory_init().

Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/memory.c

index f6895577bf864bb9b715508fde30774af1b8d4cc..1622893d00a228df4f1f46f17d4af8f875b82c25 100644 (file)
@@ -56,7 +56,7 @@ static DEFINE_SPINLOCK(snd_alloc_vmalloc_lock);
 #define VMALLOC_MAGIC 0x87654320
 static snd_info_entry_t *snd_memory_info_entry;
 
-void snd_memory_init(void)
+void __init snd_memory_init(void)
 {
        snd_alloc_kmalloc = 0;
        snd_alloc_vmalloc = 0;