projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c26d85c
)
eeepc-laptop: fix hotplug_disabled module_param permissions
author
Axel Lin
<
[email protected]
>
Tue, 20 Jul 2010 22:19:55 +0000
(15:19 -0700)
committer
Matthew Garrett
<
[email protected]
>
Tue, 3 Aug 2010 13:49:05 +0000
(09:49 -0400)
The hotplug_disabled module parameter is determinated at the module load
time. Change the value after the module is loaded does not make sense and
has no effect at all, thus set the permissions to 0444 instead of 0644.
Signed-off-by: Axel Lin <
[email protected]
>
Cc: Corentin Chary <
[email protected]
>
Cc: Matthew Garrett <
[email protected]
>
Cc: Alan Jenkins <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Matthew Garrett <
[email protected]
>
drivers/platform/x86/eeepc-laptop.c
patch
|
blob
|
history
diff --git
a/drivers/platform/x86/eeepc-laptop.c
b/drivers/platform/x86/eeepc-laptop.c
index 0306174ba8758ed69a44c57c8e7dcef0a1c7802f..6b8e06206c465043ac11baf9b6fbe3493751f7e2 100644
(file)
--- a/
drivers/platform/x86/eeepc-laptop.c
+++ b/
drivers/platform/x86/eeepc-laptop.c
@@
-53,7
+53,7
@@
MODULE_LICENSE("GPL");
static bool hotplug_disabled;
-module_param(hotplug_disabled, bool, 0
6
44);
+module_param(hotplug_disabled, bool, 0
4
44);
MODULE_PARM_DESC(hotplug_disabled,
"Disable hotplug for wireless device. "
"If your laptop need that, please report to "