diff options
author | Karol Kozimor <sziwan@hell.org.pl> | 2006-01-03 23:05:00 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-01-04 00:59:11 -0500 |
commit | aea19aa0780d4b006372fedab8434226e1cc7686 (patch) | |
tree | 80a455f9c22d4edf442127a4351862517da81bbc /drivers/acpi | |
parent | bb84db937a875045de9e6d08d177ad3223ae0ae3 (diff) |
[ACPI_ASUS] fix asus module param description
Signed-off-by: Karol Kozimor <sziwan@hell.org.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/asus_acpi.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/acpi/asus_acpi.c b/drivers/acpi/asus_acpi.c index d4e1e95934fb..f4c87750dbf2 100644 --- a/drivers/acpi/asus_acpi.c +++ b/drivers/acpi/asus_acpi.c | |||
@@ -78,9 +78,9 @@ MODULE_LICENSE("GPL"); | |||
78 | static uid_t asus_uid; | 78 | static uid_t asus_uid; |
79 | static gid_t asus_gid; | 79 | static gid_t asus_gid; |
80 | module_param(asus_uid, uint, 0); | 80 | module_param(asus_uid, uint, 0); |
81 | MODULE_PARM_DESC(uid, "UID for entries in /proc/acpi/asus.\n"); | 81 | MODULE_PARM_DESC(asus_uid, "UID for entries in /proc/acpi/asus.\n"); |
82 | module_param(asus_gid, uint, 0); | 82 | module_param(asus_gid, uint, 0); |
83 | MODULE_PARM_DESC(gid, "GID for entries in /proc/acpi/asus.\n"); | 83 | MODULE_PARM_DESC(asus_gid, "GID for entries in /proc/acpi/asus.\n"); |
84 | 84 | ||
85 | /* For each model, all features implemented, | 85 | /* For each model, all features implemented, |
86 | * those marked with R are relative to HOTK, A for absolute */ | 86 | * those marked with R are relative to HOTK, A for absolute */ |
@@ -851,6 +851,8 @@ static int __init asus_hotk_add_fs(struct acpi_device *device) | |||
851 | mode = S_IFREG | S_IRUGO | S_IWUGO; | 851 | mode = S_IFREG | S_IRUGO | S_IWUGO; |
852 | } else { | 852 | } else { |
853 | mode = S_IFREG | S_IRUSR | S_IRGRP | S_IWUSR | S_IWGRP; | 853 | mode = S_IFREG | S_IRUSR | S_IRGRP | S_IWUSR | S_IWGRP; |
854 | printk(KERN_WARNING " asus_uid and asus_gid parameters are " | ||
855 | "deprecated, use chown and chmod instead!\n"); | ||
854 | } | 856 | } |
855 | 857 | ||
856 | acpi_device_dir(device) = asus_proc_dir; | 858 | acpi_device_dir(device) = asus_proc_dir; |