patch-2.4.23 linux-2.4.23/drivers/acpi/pci_root.c

Next file: linux-2.4.23/drivers/acpi/power.c
Previous file: linux-2.4.23/drivers/acpi/pci_link.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/drivers/acpi/pci_root.c linux-2.4.23/drivers/acpi/pci_root.c
@@ -65,7 +65,7 @@
 	u64			io_tra;
 };
 
-struct list_head		acpi_pci_roots;
+static LIST_HEAD(acpi_pci_roots);
 
 static struct acpi_pci_driver *sub_driver;
 
@@ -374,8 +374,6 @@
 	acpi_dbg_level = 0xFFFFFFFF;
 	 */
 
- 	INIT_LIST_HEAD(&acpi_pci_roots);
-
 	if (acpi_bus_register_driver(&acpi_pci_root_driver) < 0)
 		return_VALUE(-ENODEV);
 

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