]> git.karo-electronics.de Git - linux-beck.git/commitdiff
hv: make vmbus_loglevel writeable
authorOlaf Hering <olaf@aepfle.de>
Sat, 16 Apr 2011 16:50:42 +0000 (18:50 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 20 Apr 2011 20:40:35 +0000 (13:40 -0700)
make /sys/module/hv_vmbus/parameters/vmbus_loglevel writeable by root.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/vmbus_drv.c

index 8516f4377cfacc5afef54924ecb01ed1ce13d2ea..c85d79614f27343ea2b762bb9cfb0c41e9eaafb4 100644 (file)
@@ -827,7 +827,7 @@ static void __exit hv_pci_exit(void)
 
 MODULE_LICENSE("GPL");
 MODULE_VERSION(HV_DRV_VERSION);
-module_param(vmbus_loglevel, int, S_IRUGO);
+module_param(vmbus_loglevel, int, S_IRUGO|S_IWUSR);
 
 module_init(hv_pci_init);
 module_exit(hv_pci_exit);