From 13399cbaab4dfee74d3e1d2547381c6d398af736 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Sat, 16 Apr 2011 18:50:42 +0200 Subject: [PATCH] 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 --- drivers/staging/hv/vmbus_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5