From: Olaf Hering Date: Sat, 16 Apr 2011 16:50:42 +0000 (+0200) Subject: hv: make vmbus_loglevel writeable X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=13399cbaab4dfee74d3e1d2547381c6d398af736;p=linux-beck.git hv: make vmbus_loglevel writeable make /sys/module/hv_vmbus/parameters/vmbus_loglevel writeable by root. Signed-off-by: Olaf Hering Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/hv/vmbus_drv.c b/drivers/staging/hv/vmbus_drv.c index 8516f4377cfa..c85d79614f27 100644 --- a/drivers/staging/hv/vmbus_drv.c +++ b/drivers/staging/hv/vmbus_drv.c @@ -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);