[PATCH 2 of 2] IBM PCI Hotplug fix

Greg KH (greg@kroah.com)
Thu, 18 Apr 2002 13:44:40 -0700


Hi,

Here's a patch against 2.4.19-pre7 that allows the IBM PCI Hotplug
driver to be built into the kernel properly.

thanks,

greg k-h

diff -Nru a/drivers/hotplug/ibmphp_core.c b/drivers/hotplug/ibmphp_core.c
--- a/drivers/hotplug/ibmphp_core.c Thu Apr 18 09:15:05 2002
+++ b/drivers/hotplug/ibmphp_core.c Thu Apr 18 09:15:05 2002
@@ -56,7 +56,7 @@
MODULE_DESCRIPTION (DRIVER_DESC);

static int *ops[MAX_OPS + 1];
-static struct pci_ops *ibmphp_pci_root_ops;
+struct pci_ops *ibmphp_pci_root_ops;
static int max_slots;

static int irqs[16]; /* PIC mode IRQ's we're using so far (in case MPS tables don't provide default info for empty slots */

-
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/