Fix thermal/cooling mode and thermal/polling frequency
Subsystems (2)
Hi!
This should fix two more files in proc... Please apply,
Pavel
drivers/acpi/thermal.c +6 -4
@@ -946,10 +950,11 @@struct file *file, const char *buffer, unsigned long count, - void *data) + loff_t *ppos) { int result = 0; -struct acpi_thermal *tz = (struct acpi_thermal *) data; +struct seq_file *m = (struct seq_file *)file->private_data; +struct acpi_thermal *tz = (struct acpi_thermal *) m->private;char mode_string[12 ] = {'\0' };ACPI_FUNCTION_TRACE ("acpi_thermal_write_cooling_mode" );
@@ -1006,10 +1011,11 @@struct file *file, const char *buffer, unsigned long count, - void *data) + loff_t *ppos) { + struct seq_file *m = (struct seq_file *)file->private_data;int result =0 ; -struct acpi_thermal *tz = (struct acpi_thermal *) data; +struct acpi_thermal *tz = (struct acpi_thermal *) m->private;char polling_string[12 ] = {'\0' };int seconds =0 ;
Signature · 8 lines
Worst form of spam? Adding advertisment signatures ala sourceforge.net. What goes next? Inserting advertisment *into* email? ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com