From: Jens Axboe Date: Mon, 14 Jun 2010 10:55:09 +0000 (+0200) Subject: cpqarray: fix wrong __init type on pci probe function X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d4a3895f5d024b47ef8e9d98c59a9b86dcdcef59;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git cpqarray: fix wrong __init type on pci probe function It needs to be __devinit, not __init. Signed-off-by: Jens Axboe --- 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;