Skip to content

Commit

Permalink
[ALSA] adds __init and in snd_memory_init()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Henrik Kretzschmar authored and Jaroslav Kysela committed Aug 30, 2005
1 parent 0ca06a0 commit 267d4d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/core/memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 267d4d6

Please sign in to comment.