cpqarray: fix wrong __init type on pci probe function
authorJens Axboe <jaxboe@fusionio.com>
Mon, 14 Jun 2010 10:55:09 +0000 (12:55 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Mon, 14 Jun 2010 10:55:09 +0000 (12:55 +0200)
It needs to be __devinit, not __init.

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
drivers/block/cpqarray.c

index 91d1163..95ae5b9 100644 (file)
@@ -503,7 +503,7 @@ Enomem4:
        return -1;
 }
 
-static int __init cpqarray_init_one( struct pci_dev *pdev,
+static int __devinit cpqarray_init_one( struct pci_dev *pdev,
        const struct pci_device_id *ent)
 {
        int i;