mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
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>
This commit is contained in:
parent
d4a3895f5d
commit
552618d124
@ -386,7 +386,7 @@ static void __devexit cpqarray_remove_one_eisa (int i)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* pdev is NULL for eisa */
|
/* 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;
|
struct request_queue *q;
|
||||||
int j;
|
int j;
|
||||||
@ -740,7 +740,7 @@ __setup("smart2=", cpqarray_setup);
|
|||||||
/*
|
/*
|
||||||
* Find an EISA controller's signature. Set up an hba if we find it.
|
* 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;
|
int i=0, j;
|
||||||
__u32 board_id;
|
__u32 board_id;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user