u2mfn: change default /proc/u2mfn permissions

It is set to 666 by init scripts anyway. Set defaults here, as scripts
are not working in all the cases (DispVM audio problem).
This commit is contained in:
Marek Marczykowski 2013-04-17 13:16:37 +02:00
parent 7494090db2
commit c0a145a129

View File

@ -150,7 +150,7 @@ static struct file_operations u2mfn_fops = {
static int u2mfn_init(void) static int u2mfn_init(void)
{ {
struct proc_dir_entry *u2mfn_node = struct proc_dir_entry *u2mfn_node =
proc_create_data("u2mfn", 0600, NULL, proc_create_data("u2mfn", 0666, NULL,
&u2mfn_fops, 0); &u2mfn_fops, 0);
if (!u2mfn_node) if (!u2mfn_node)
return -1; return -1;