projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ca06a0
)
[ALSA] adds __init and in snd_memory_init()
author
Henrik Kretzschmar
<henne@nachtwindheim.de>
Fri, 29 Jul 2005 14:59:31 +0000
(16:59 +0200)
committer
Jaroslav 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
patch
|
blob
|
blame
|
history
diff --git
a/sound/core/memory.c
b/sound/core/memory.c
index f6895577bf864bb9b715508fde30774af1b8d4cc..1622893d00a228df4f1f46f17d4af8f875b82c25 100644
(file)
--- 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;