lkml.org 
[lkml]   [2002]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject2.5.50: echo > /proc/acpi/sleep b0rken
Hi!

I believe this is needed, otherwise echo > /proc/acpi/sleep does not
work. I'm not 200% sure this is correct fix, through, and it
definitely needs to be fixed at *way* more places.
Pavel

--- clean/drivers/acpi/sleep.c 2002-11-29 21:16:34.000000000 +0100
+++ linux-swsusp/drivers/acpi/sleep.c 2002-11-30 00:27:14.000000000 +0100
@@ -674,7 +675,7 @@
ACPI_SYSTEM_FILE_SLEEP));
else {
entry->proc_fops = &acpi_system_sleep_fops;
- entry->write_proc = acpi_system_write_sleep;
+ entry->proc_fops->write = acpi_system_write_sleep;
}

/* 'alarm' [R/W] */
--
Worst form of spam? Adding advertisment signatures ala sourceforge.net.
What goes next? Inserting advertisment *into* email?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:31    [W:0.022 / U:0.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site