diff options
author | Jens Axboe <jaxboe@fusionio.com> | 2010-06-14 12:55:09 +0200 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2010-06-14 12:55:09 +0200 |
commit | d4a3895f5d024b47ef8e9d98c59a9b86dcdcef59 (patch) | |
tree | 7b4a4d58a463e36b775770cd640ea1430f32763c | |
parent | 575f552012ec0cd6591fd85ee996d5a5ad1a669a (diff) | |
download | linux-d4a3895f5d024b47ef8e9d98c59a9b86dcdcef59.tar.bz2 |
cpqarray: fix wrong __init type on pci probe function
It needs to be __devinit, not __init.
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
-rw-r--r-- | drivers/block/cpqarray.c | 2 |
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: 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; |