diff options
author | Richard Knutsson <ricknu-0@student.ltu.se> | 2005-11-29 19:00:35 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-09 15:13:23 -0500 |
commit | 93b47684f60cf25e8cefe19a21d94aa0257fdf36 (patch) | |
tree | f89ab5a9197cf9bb771a556f8b48989416848dce /drivers/pcmcia/vrc4173_cardu.c | |
parent | 46654728b55bf5d09dc91fa45f532131d8a609f2 (diff) |
[PATCH] drivers/*rest*: 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/pcmcia/vrc4173_cardu.c')
-rw-r--r-- | drivers/pcmcia/vrc4173_cardu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pcmcia/vrc4173_cardu.c b/drivers/pcmcia/vrc4173_cardu.c index 1b277d2c1c96..b502db2790e0 100644 --- a/drivers/pcmcia/vrc4173_cardu.c +++ b/drivers/pcmcia/vrc4173_cardu.c | |||
@@ -561,7 +561,7 @@ static int __devinit vrc4173_cardu_init(void) | |||
561 | { | 561 | { |
562 | vrc4173_cardu_slots = 0; | 562 | vrc4173_cardu_slots = 0; |
563 | 563 | ||
564 | return pci_module_init(&vrc4173_cardu_driver); | 564 | return pci_register_driver(&vrc4173_cardu_driver); |
565 | } | 565 | } |
566 | 566 | ||
567 | static void __devexit vrc4173_cardu_exit(void) | 567 | static void __devexit vrc4173_cardu_exit(void) |