Allow everyone to get the status of the card (Closes GH-8)
This commit is contained in:
		@@ -386,7 +386,7 @@ static int __init bbswitch_init(void) {
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    acpi_entry = proc_create("bbswitch", 0660, acpi_root_dir, &bbswitch_fops);
 | 
					    acpi_entry = proc_create("bbswitch", 0664, acpi_root_dir, &bbswitch_fops);
 | 
				
			||||||
    if (acpi_entry == NULL) {
 | 
					    if (acpi_entry == NULL) {
 | 
				
			||||||
        printk(KERN_ERR "bbswitch: Couldn't create proc entry\n");
 | 
					        printk(KERN_ERR "bbswitch: Couldn't create proc entry\n");
 | 
				
			||||||
        return -ENOMEM;
 | 
					        return -ENOMEM;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user