diff options
author | Richard Knutsson <ricknu-0@student.ltu.se> | 2005-11-29 18:59:34 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-09 15:13:22 -0500 |
commit | 9bfab8cec652c80b4864b4d9247520dca042c2df (patch) | |
tree | d76d008e653949d7b9ead359d44c3662e99cd194 /drivers/block/sx8.c | |
parent | d1d6da8f9fb9a0633a2f36b84b292752d78f7d31 (diff) |
[PATCH] drivers/block: Replace pci_module_init() with pci_register_driver()
Replace obsolete pci_module_init() with pci_register_driver().
Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/block/sx8.c')
-rw-r--r-- | drivers/block/sx8.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/sx8.c b/drivers/block/sx8.c index c0cdc182a8b0..a7e0975c8c9f 100644 --- a/drivers/block/sx8.c +++ b/drivers/block/sx8.c | |||
@@ -1755,7 +1755,7 @@ static void carm_remove_one (struct pci_dev *pdev) | |||
1755 | 1755 | ||
1756 | static int __init carm_init(void) | 1756 | static int __init carm_init(void) |
1757 | { | 1757 | { |
1758 | return pci_module_init(&carm_driver); | 1758 | return pci_register_driver(&carm_driver); |
1759 | } | 1759 | } |
1760 | 1760 | ||
1761 | static void __exit carm_exit(void) | 1761 | static void __exit carm_exit(void) |