Commit 267d4d64 authored by Henrik Kretzschmar's avatar Henrik Kretzschmar Committed by Jaroslav Kysela

[ALSA] adds __init and in snd_memory_init()

ALSA Core
This patch adds the __init macro to snd_memory_init().
Signed-off-by: default avatarHenrik Kretzschmar <henne@nachtwindheim.de>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 0ca06a00
...@@ -56,7 +56,7 @@ static DEFINE_SPINLOCK(snd_alloc_vmalloc_lock); ...@@ -56,7 +56,7 @@ static DEFINE_SPINLOCK(snd_alloc_vmalloc_lock);
#define VMALLOC_MAGIC 0x87654320 #define VMALLOC_MAGIC 0x87654320
static snd_info_entry_t *snd_memory_info_entry; 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_kmalloc = 0;
snd_alloc_vmalloc = 0; snd_alloc_vmalloc = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment