Browse Source

cpqarray: fix wrong __init type on pci probe function

It needs to be __devinit, not __init.

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Jens Axboe 15 years ago
parent
commit
d4a3895f5d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/block/cpqarray.c

+ 1 - 1
drivers/block/cpqarray.c

@@ -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;