aboutsummaryrefslogtreecommitdiff
path: root/drivers/block
diff options
context:
space:
mode:
authorJens Axboe <jaxboe@fusionio.com>2010-06-14 12:55:09 +0200
committerJens Axboe <jaxboe@fusionio.com>2010-06-14 12:55:09 +0200
commitd4a3895f5d024b47ef8e9d98c59a9b86dcdcef59 (patch)
tree7b4a4d58a463e36b775770cd640ea1430f32763c /drivers/block
parent575f552012ec0cd6591fd85ee996d5a5ad1a669a (diff)
cpqarray: fix wrong __init type on pci probe function
It needs to be __devinit, not __init. Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/cpqarray.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/cpqarray.c b/drivers/block/cpqarray.c
index 91d11631cec..95ae5b98c27 100644
--- a/drivers/block/cpqarray.c
+++ b/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;