Messages in this thread Patch in this message | | | Subject | [PATCH 4/11] VIDEO: replace all uses of pci_module_init with pci_register_driver | Date | Sat, 3 Dec 2005 13:57:10 -0200 | From | Otavio Salvador <> |
| |
This patch replace all calls to pci_module_init, that's deprecated and will be removed in future, with pci_register_driver that should be the used function now.
Signed-off-by: Otavio Salvador <otavio@debian.org>
---
drivers/video/cyblafb.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
applies-to: 7d96fbf2c9eb2d18e807891c7023feccd36ae096 4ea77b4a082ec82dbf3b34b6334888cbac61bbe3 diff --git a/drivers/video/cyblafb.c b/drivers/video/cyblafb.c index 03fbe83..b2d7476 100644 --- a/drivers/video/cyblafb.c +++ b/drivers/video/cyblafb.c @@ -1440,7 +1440,7 @@ static int __devinit cyblafb_init(void) } #endif output("CyblaFB version %s initializing\n",VERSION); - return pci_module_init(&cyblafb_pci_driver); + return pci_register_driver(&cyblafb_pci_driver); } static void __exit cyblafb_exit(void) --- 0.99.9k
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |