Here's the compatibility patch for 2.4:
--- linux/include/linux/pci.h 2003-05-21 05:21:29.000000000 -0400
+++ linux-acpi/include/linux/pci.h 2003-06-26 06:39:58.000000000 -0400
@@ -773,6 +773,11 @@
pdev->driver_data = data;
}
+static inline char *pci_name(struct pci_dev *pdev)
+{
+ return pdev->slot_name;
+}
+
/*
* The world is not perfect and supplies us with broken PCI devices.
* For at least a part of these bugs we need a work-around, so both
-- "It's not Hollywood. War is real, war is primarily not about defeat or victory, it is about death. I've seen thousands and thousands of dead bodies. Do you think I want to have an academic debate on this subject?" -- Robert Fisk - 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/