···78static uid_t asus_uid;79static gid_t asus_gid;80module_param(asus_uid, uint, 0);81-MODULE_PARM_DESC(uid, "UID for entries in /proc/acpi/asus.\n");82module_param(asus_gid, uint, 0);83-MODULE_PARM_DESC(gid, "GID for entries in /proc/acpi/asus.\n");8485/* For each model, all features implemented, 86 * those marked with R are relative to HOTK, A for absolute */···851 mode = S_IFREG | S_IRUGO | S_IWUGO;852 } else {853 mode = S_IFREG | S_IRUSR | S_IRGRP | S_IWUSR | S_IWGRP;00854 }855856 acpi_device_dir(device) = asus_proc_dir;
···78static uid_t asus_uid;79static gid_t asus_gid;80module_param(asus_uid, uint, 0);81+MODULE_PARM_DESC(asus_uid, "UID for entries in /proc/acpi/asus.\n");82module_param(asus_gid, uint, 0);83+MODULE_PARM_DESC(asus_gid, "GID for entries in /proc/acpi/asus.\n");8485/* For each model, all features implemented, 86 * those marked with R are relative to HOTK, A for absolute */···851 mode = S_IFREG | S_IRUGO | S_IWUGO;852 } else {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");856 }857858 acpi_device_dir(device) = asus_proc_dir;