diff options
Diffstat (limited to 'drivers/acpi/processor_perflib.c')
-rw-r--r-- | drivers/acpi/processor_perflib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/processor_perflib.c b/drivers/acpi/processor_perflib.c index 22c7bb66c200..0c0234e18261 100644 --- a/drivers/acpi/processor_perflib.c +++ b/drivers/acpi/processor_perflib.c | |||
@@ -520,8 +520,8 @@ static void acpi_cpufreq_add_file(struct acpi_processor *pr) | |||
520 | "Unable to create '%s' fs entry\n", | 520 | "Unable to create '%s' fs entry\n", |
521 | ACPI_PROCESSOR_FILE_PERFORMANCE)); | 521 | ACPI_PROCESSOR_FILE_PERFORMANCE)); |
522 | else { | 522 | else { |
523 | acpi_processor_perf_fops.write = acpi_processor_write_performance; | ||
523 | entry->proc_fops = &acpi_processor_perf_fops; | 524 | entry->proc_fops = &acpi_processor_perf_fops; |
524 | entry->proc_fops->write = acpi_processor_write_performance; | ||
525 | entry->data = acpi_driver_data(device); | 525 | entry->data = acpi_driver_data(device); |
526 | entry->owner = THIS_MODULE; | 526 | entry->owner = THIS_MODULE; |
527 | } | 527 | } |