aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
authorJens Axboe <jaxboe@fusionio.com>2010-06-14 06:55:09 -0400
committerJens Axboe <jaxboe@fusionio.com>2010-06-14 06:55:09 -0400
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 91d11631cec9..95ae5b98c271 100644
--- a/drivers/block/cpqarray.c
+++ b/drivers/block/cpqarray.c
@@ -503,7 +503,7 @@ Enomem4:
503 return -1; 503 return -1;
504} 504}
505 505
506static int __init cpqarray_init_one( struct pci_dev *pdev, 506static int __devinit cpqarray_init_one( struct pci_dev *pdev,
507 const struct pci_device_id *ent) 507 const struct pci_device_id *ent)
508{ 508{
509 int i; 509 int i;