Message ID | 20160802114923.4500-1-baolex.ni@intel.com |
---|---|
State | Not Applicable |
Headers | show |
diff --git a/drivers/pci/hotplug/acpiphp_core.c b/drivers/pci/hotplug/acpiphp_core.c index 3c81fc8..66365dc 100644 --- a/drivers/pci/hotplug/acpiphp_core.c +++ b/drivers/pci/hotplug/acpiphp_core.c @@ -61,7 +61,7 @@ MODULE_AUTHOR(DRIVER_AUTHOR); MODULE_DESCRIPTION(DRIVER_DESC); MODULE_LICENSE("GPL"); MODULE_PARM_DESC(disable, "disable acpiphp driver"); -module_param_named(disable, acpiphp_disabled, bool, 0444); +module_param_named(disable, acpiphp_disabled, bool, S_IRUSR | S_IRGRP | S_IROTH); static int enable_slot(struct hotplug_slot *slot); static int disable_slot(struct hotplug_slot *slot);