patch-2.3.38 linux/drivers/pci/compat.c

Next file: linux/drivers/pci/setup.c
Previous file: linux/drivers/net/wan/cosa.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.37/linux/drivers/pci/compat.c linux/drivers/pci/compat.c
@@ -13,7 +13,7 @@
 int
 pcibios_present(void)
 {
-	return pci_devices.next != &pci_devices;
+	return !list_empty(&pci_devices);
 }
 
 int

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