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/video | |
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/video')
-rw-r--r-- | drivers/video/cyblafb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/cyblafb.c b/drivers/video/cyblafb.c index e9f5dee67e3c..2b972461a030 100644 --- a/drivers/video/cyblafb.c +++ b/drivers/video/cyblafb.c | |||
@@ -1666,6 +1666,7 @@ static int __devinit cyblafb_init(void) | |||
1666 | #endif | 1666 | #endif |
1667 | output("CyblaFB version %s initializing\n", VERSION); | 1667 | output("CyblaFB version %s initializing\n", VERSION); |
1668 | return pci_module_init(&cyblafb_pci_driver); | 1668 | return pci_module_init(&cyblafb_pci_driver); |
1669 | return pci_register_driver(&cyblafb_pci_driver); | ||
1669 | } | 1670 | } |
1670 | 1671 | ||
1671 | static void __exit cyblafb_exit(void) | 1672 | static void __exit cyblafb_exit(void) |