Commit d4a3895f authored by Jens Axboe's avatar Jens Axboe

cpqarray: fix wrong __init type on pci probe function

It needs to be __devinit, not __init.
Signed-off-by: default avatarJens Axboe <jaxboe@fusionio.com>
parent 575f5520
......@@ -503,7 +503,7 @@ static int __init cpqarray_register_ctlr( int i, struct pci_dev *pdev)
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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment