We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5ae318f + e6d701d commit da85a85Copy full SHA for da85a85
1 file changed
drivers/acpi/sysfs.c
@@ -938,13 +938,13 @@ static void __exit interrupt_stats_exit(void)
938
}
939
940
static ssize_t
941
-acpi_show_profile(struct device *dev, struct device_attribute *attr,
+acpi_show_profile(struct kobject *kobj, struct kobj_attribute *attr,
942
char *buf)
943
{
944
return sprintf(buf, "%d\n", acpi_gbl_FADT.preferred_profile);
945
946
947
-static const struct device_attribute pm_profile_attr =
+static const struct kobj_attribute pm_profile_attr =
948
__ATTR(pm_profile, S_IRUGO, acpi_show_profile, NULL);
949
950
static ssize_t hotplug_enabled_show(struct kobject *kobj,
0 commit comments