cpqarray: fix wrong __init type on pci probe function
It needs to be __devinit, not __init. Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
This commit is contained in:
parent
575f552012
commit
d4a3895f5d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue