diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-02-02 21:51:52 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-02-02 21:51:52 -0500 |
commit | 33052057e3e2db7f37fc78aa3f25c98f7e989fae (patch) | |
tree | e80a3aa1371f513c833dc94a16674f78faeeeb1d /drivers/acpi/processor_thermal.c | |
parent | 00b464debf0038b1628996065f0be564ccfbfd86 (diff) | |
parent | 1113a7e92e483074c6235da59460759e33b9b144 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'drivers/acpi/processor_thermal.c')
-rw-r--r-- | drivers/acpi/processor_thermal.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/acpi/processor_thermal.c b/drivers/acpi/processor_thermal.c index dc9817cfb882..f99ad05cd6a2 100644 --- a/drivers/acpi/processor_thermal.c +++ b/drivers/acpi/processor_thermal.c | |||
@@ -348,9 +348,9 @@ static int acpi_processor_limit_open_fs(struct inode *inode, struct file *file) | |||
348 | PDE(inode)->data); | 348 | PDE(inode)->data); |
349 | } | 349 | } |
350 | 350 | ||
351 | ssize_t acpi_processor_write_limit(struct file * file, | 351 | static ssize_t acpi_processor_write_limit(struct file * file, |
352 | const char __user * buffer, | 352 | const char __user * buffer, |
353 | size_t count, loff_t * data) | 353 | size_t count, loff_t * data) |
354 | { | 354 | { |
355 | int result = 0; | 355 | int result = 0; |
356 | struct seq_file *m = (struct seq_file *)file->private_data; | 356 | struct seq_file *m = (struct seq_file *)file->private_data; |
@@ -394,6 +394,7 @@ ssize_t acpi_processor_write_limit(struct file * file, | |||
394 | struct file_operations acpi_processor_limit_fops = { | 394 | struct file_operations acpi_processor_limit_fops = { |
395 | .open = acpi_processor_limit_open_fs, | 395 | .open = acpi_processor_limit_open_fs, |
396 | .read = seq_read, | 396 | .read = seq_read, |
397 | .write = acpi_processor_write_limit, | ||
397 | .llseek = seq_lseek, | 398 | .llseek = seq_lseek, |
398 | .release = single_release, | 399 | .release = single_release, |
399 | }; | 400 | }; |