Commit 6496f339 authored by Dave Jones's avatar Dave Jones

[CPUFREQ] Set .owner in cpufreq_userspace.c sysfs attribute definition.

Signed-off-by: default avatarDominik Brodowski <linux@brodo.de>
Signed-off-by: default avatarDave Jones <davej@redhat.com>
parent 49ac7dc6
...@@ -508,8 +508,9 @@ store_speed (struct cpufreq_policy *policy, const char *buf, size_t count) ...@@ -508,8 +508,9 @@ store_speed (struct cpufreq_policy *policy, const char *buf, size_t count)
return count; return count;
} }
static struct freq_attr freq_attr_scaling_setspeed = { static struct freq_attr freq_attr_scaling_setspeed =
.attr = { .name = "scaling_setspeed", .mode = 0644 }, {
.attr = { .name = "scaling_setspeed", .mode = 0644, .owner = THIS_MODULE },
.show = show_speed, .show = show_speed,
.store = store_speed, .store = store_speed,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment