patch-2.4.27 linux-2.4.27/drivers/acpi/power.c

Next file: linux-2.4.27/drivers/acpi/processor.c
Previous file: linux-2.4.27/drivers/acpi/pci_root.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.26/drivers/acpi/power.c linux-2.4.27/drivers/acpi/power.c
@@ -469,6 +469,8 @@
 	ACPI_FUNCTION_TRACE("acpi_power_remove_fs");
 
 	if (acpi_device_dir(device)) {
+		remove_proc_entry(ACPI_POWER_FILE_STATUS,
+				  acpi_device_dir(device));
 		remove_proc_entry(acpi_device_bid(device), acpi_power_dir);
 		acpi_device_dir(device) = NULL;
 	}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)