Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 222025 | Differences between
and this patch

Collapse All | Expand All

(-)a/core/info.c (-2 / +2 lines)
Lines 544-550 int __init snd_info_init(void) Link Here
544
{
544
{
545
	struct proc_dir_entry *p;
545
	struct proc_dir_entry *p;
546
546
547
	p = snd_create_proc_entry("asound", S_IFDIR | S_IRUGO | S_IXUGO, &proc_root);
547
	p = snd_create_proc_entry("asound", S_IFDIR | S_IRUGO | S_IXUGO, NULL);
548
	if (p == NULL)
548
	if (p == NULL)
549
		return -ENOMEM;
549
		return -ENOMEM;
550
	snd_proc_root = p;
550
	snd_proc_root = p;
Lines 594-600 int __exit snd_info_done(void) Link Here
594
#ifdef CONFIG_SND_OSSEMUL
594
#ifdef CONFIG_SND_OSSEMUL
595
		snd_info_free_entry(snd_oss_root);
595
		snd_info_free_entry(snd_oss_root);
596
#endif
596
#endif
597
		snd_remove_proc_entry(&proc_root, snd_proc_root);
597
		snd_remove_proc_entry(NULL, snd_proc_root);
598
	}
598
	}
599
	return 0;
599
	return 0;
600
}
600
}

Return to bug 222025