summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/processor_throttling.c
diff options
context:
space:
mode:
authorArjan van de Ven <arjan@infradead.org>2006-01-06 22:47:00 +0100
committerLen Brown <len.brown@intel.com>2006-01-07 10:19:08 +0100
commitd479e908457f4972205fcafa054f8030e91781ef (patch)
tree1e3bacc19fc158a292807eabcd20012fb674d3ea /drivers/acpi/processor_throttling.c
parent[PATCH] Fix posix-cpu-timers sched_time accumulation (diff)
downloadlinux-d479e908457f4972205fcafa054f8030e91781ef.tar.xz
linux-d479e908457f4972205fcafa054f8030e91781ef.zip
[ACPI] move some run-time structure inits to compile time
acpi_processor_limit_fops.write was written at run time, but can be initiailized at compile-time instead. Similar for acpi_video_bus_POST_fops.write and friends, but keep doing those at runtime to avoid prototype-hell. Signed-off-by: Arjan van de Ven <arjan@infradead.org> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/processor_throttling.c')
-rw-r--r--drivers/acpi/processor_throttling.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/processor_throttling.c b/drivers/acpi/processor_throttling.c
index 74a52d4e79ae..5cd056abfcfb 100644
--- a/drivers/acpi/processor_throttling.c
+++ b/drivers/acpi/processor_throttling.c
@@ -337,6 +337,7 @@ ssize_t acpi_processor_write_throttling(struct file * file,
struct file_operations acpi_processor_throttling_fops = {
.open = acpi_processor_throttling_open_fs,
.read = seq_read,
+ .write = acpi_processor_write_throttling,
.llseek = seq_lseek,
.release = single_release,
};