Skip to content

Commit 267d4d6

Browse files
Henrik KretzschmarJaroslav Kysela
authored andcommitted
[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 <henne@nachtwindheim.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent 0ca06a0 commit 267d4d6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎sound/core/memory.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ static DEFINE_SPINLOCK(snd_alloc_vmalloc_lock);
5656
#define VMALLOC_MAGIC 0x87654320
5757
static snd_info_entry_t *snd_memory_info_entry;
5858

59-
void snd_memory_init(void)
59+
void __init snd_memory_init(void)
6060
{
6161
snd_alloc_kmalloc = 0;
6262
snd_alloc_vmalloc = 0;

0 commit comments

Comments
 (0)