lkml.org 
[lkml]   [2004]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectcciss updates for 2.6 [10 0f 11]
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@hp.com

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

\
 
 \ /
  Last update: 2005-03-22 14:00    [W:0.221 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site