aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/core/memalloc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sound/core/memalloc.c b/sound/core/memalloc.c
index 920e5780c228..23b7bc02728b 100644
--- a/sound/core/memalloc.c
+++ b/sound/core/memalloc.c
@@ -629,9 +629,8 @@ static const struct file_operations snd_mem_proc_fops = {
629static int __init snd_mem_init(void) 629static int __init snd_mem_init(void)
630{ 630{
631#ifdef CONFIG_PROC_FS 631#ifdef CONFIG_PROC_FS
632 snd_mem_proc = create_proc_entry(SND_MEM_PROC_FILE, 0644, NULL); 632 snd_mem_proc = proc_create(SND_MEM_PROC_FILE, 0644, NULL,
633 if (snd_mem_proc) 633 &snd_mem_proc_fops);
634 snd_mem_proc->proc_fops = &snd_mem_proc_fops;
635#endif 634#endif
636 return 0; 635 return 0;
637} 636}