]> err.no Git - linux-2.6/blobdiff - drivers/block/cpqarray.c
[PATCH] CCISS: request all PCI resources
[linux-2.6] / drivers / block / cpqarray.c
index 79d4184658df2414c7f3a8802f1828bf6c0f25e0..5eb6fb7b5cfacfba6c84672cd38aaf631f401c85 100644 (file)
@@ -392,7 +392,7 @@ static void __devexit cpqarray_remove_one_eisa (int i)
 }
 
 /* pdev is NULL for eisa */
-static int cpqarray_register_ctlr( int i, struct pci_dev *pdev)
+static int __init cpqarray_register_ctlr( int i, struct pci_dev *pdev)
 {
        request_queue_t *q;
        int j;
@@ -744,7 +744,7 @@ __setup("smart2=", cpqarray_setup);
 /*
  * Find an EISA controller's signature.  Set up an hba if we find it.
  */
-static int cpqarray_eisa_detect(void)
+static int __init cpqarray_eisa_detect(void)
 {
        int i=0, j;
        __u32 board_id;