git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[ALSA] adds __init and in snd_memory_init()
[pandora-kernel.git]
/
sound
/
core
/
memory.c
diff --git
a/sound/core/memory.c
b/sound/core/memory.c
index
f689557
..
1622893
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;