diff options
author | Jens Axboe <jaxboe@fusionio.com> | 2010-06-14 13:21:33 (GMT) |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2010-06-14 13:21:33 (GMT) |
commit | 552618d124b68d41c2effaaaa3ca5b8ce9598502 (patch) | |
tree | 677f2ac03472647c60fe2154f4f0bdaa55ddd3ae | |
parent | d4a3895f5d024b47ef8e9d98c59a9b86dcdcef59 (diff) | |
download | linux-552618d124b68d41c2effaaaa3ca5b8ce9598502.tar.xz |
cpqarray: fix two more wrong section type
cpqarray_register_ctlr() and cpqarray_eisa_detect() also
need to be marked as __devinit.
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
-rw-r--r-- | drivers/block/cpqarray.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/cpqarray.c b/drivers/block/cpqarray.c index 95ae5b9..abb4ec6 100644 --- a/drivers/block/cpqarray.c +++ b/drivers/block/cpqarray.c @@ -386,7 +386,7 @@ static void __devexit cpqarray_remove_one_eisa (int i) } /* pdev is NULL for eisa */ -static int __init cpqarray_register_ctlr( int i, struct pci_dev *pdev) +static int __devinit cpqarray_register_ctlr( int i, struct pci_dev *pdev) { struct request_queue *q; int j; @@ -740,7 +740,7 @@ __setup("smart2=", cpqarray_setup); /* * Find an EISA controller's signature. Set up an hba if we find it. */ -static int __init cpqarray_eisa_detect(void) +static int __devinit cpqarray_eisa_detect(void) { int i=0, j; __u32 board_id; |