cciss updates for 2.6 [10 0f 11]

From: mikem
Date: Wed Feb 04 2004 - 19:34:40 EST


Patch 10 0f 11. Please apply in order.
This patch uses the pci_module_init wrapper for hot plug cases.
It is in the 2.4. tree.
--------------------------------------------------------------------------------------
diff -burN lx261-p009/drivers/block/cciss.c lx261/drivers/block/cciss.c
--- lx261-p009/drivers/block/cciss.c 2004-01-26 15:02:45.000000000 -0600
+++ lx261/drivers/block/cciss.c 2004-01-26 15:19:42.000000000 -0600
@@ -2704,7 +2704,7 @@
printk(KERN_INFO DRIVER_NAME "\n");

/* Register for our PCI devices */
- return pci_register_driver(&cciss_pci_driver);
+ return pci_module_init(&cciss_pci_driver);
}

static int __init init_cciss_module(void)

Thanks,
mikem
mike.miller@xxxxxx

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/