projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
575f552
)
cpqarray: fix wrong __init type on pci probe function
author
Jens Axboe
<jaxboe@fusionio.com>
Mon, 14 Jun 2010 10:55:09 +0000
(12:55 +0200)
committer
Jens Axboe
<jaxboe@fusionio.com>
Mon, 14 Jun 2010 10:55:09 +0000
(12:55 +0200)
It needs to be __devinit, not __init.
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
drivers/block/cpqarray.c
patch
|
blob
|
history
diff --git
a/drivers/block/cpqarray.c
b/drivers/block/cpqarray.c
index
91d1163
..
95ae5b9
100644
(file)
--- 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 __
dev
init cpqarray_init_one( struct pci_dev *pdev,
const struct pci_device_id *ent)
{
int i;