From: Henrik Kretzschmar Date: Fri, 29 Jul 2005 14:59:31 +0000 (+0200) Subject: [ALSA] adds __init and in snd_memory_init() X-Git-Tag: upstream/snapshot3+hdmi~46871^2~66 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=267d4d6475cf591a5f838449b40cbacfc2915e8b;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git [ALSA] adds __init and in snd_memory_init() ALSA Core This patch adds the __init macro to snd_memory_init(). Signed-off-by: Henrik Kretzschmar Signed-off-by: Takashi Iwai --- diff --git a/sound/core/memory.c b/sound/core/memory.c index f689557..1622893 100644 --- a/sound/core/memory.c +++ b/sound/core/memory.c @@ -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;