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 91d11631cec96a523f8f7f9504ce6405edba920a..95ae5b98c271514bd7f24dc13700a0d71535bb22 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;