diff options
author | Richard Knutsson <ricknu-0@student.ltu.se> | 2007-02-14 01:40:39 +0100 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-02-16 09:41:45 -0600 |
commit | 4520b0089b41151ab3cc3ae1ee92d0aa19d88aae (patch) | |
tree | ccc1acaa69f1a49a7072d99e34d64a11be3d0f1c /drivers/scsi/megaraid.c | |
parent | 930e99bd1320d78c7d8866595e81b8fc7dc8739b (diff) | |
download | linux-4520b0089b41151ab3cc3ae1ee92d0aa19d88aae.tar.bz2 |
[SCSI] megaraid: pci_module_init to pci_register_driver
Convert pci_module_init() to pci_register_driver().
Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se>
Acked-by: "Patro, Sumant" <Sumant.Patro@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/megaraid.c')
-rw-r--r-- | drivers/scsi/megaraid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/megaraid.c b/drivers/scsi/megaraid.c index 808a1b8c4043..0aa3304f6b9b 100644 --- a/drivers/scsi/megaraid.c +++ b/drivers/scsi/megaraid.c @@ -5072,7 +5072,7 @@ static int __init megaraid_init(void) "megaraid: failed to create megaraid root\n"); } #endif - error = pci_module_init(&megaraid_pci_driver); + error = pci_register_driver(&megaraid_pci_driver); if (error) { #ifdef CONFIG_PROC_FS remove_proc_entry("megaraid", &proc_root); |