2005-03-21 15:22:26

by Magnus Damm

[permalink] [raw]
Subject: [PATCH] asus_acpi: MODULE_PARM_DESC

Remove incorrect "asus_"-prefix from parameter name.
Error detected with section2text.rb, see autoparam patch.

Signed-off-by: Magnus Damm <[email protected]>

--- linux-2.6.12-rc1/drivers/acpi/asus_acpi.c 2005-03-20 18:09:14.000000000 +0100
+++ linux-2.6.12-rc1-autoparam/drivers/acpi/asus_acpi.c 2005-03-21 14:26:23.000000000 +0100
@@ -78,9 +78,9 @@

static uid_t asus_uid;
static gid_t asus_gid;
-module_param(asus_uid, uint, 0);
+module_param_named(uid, asus_uid, uint, 0);
MODULE_PARM_DESC(uid, "UID for entries in /proc/acpi/asus.\n");
-module_param(asus_gid, uint, 0);
+module_param_named(gid, asus_gid, uint, 0);
MODULE_PARM_DESC(gid, "GID for entries in /proc/acpi/asus.\n");