[PATCH 4/11] VIDEO: replace all uses of pci_module_init with pci_register_driver

From: Otavio Salvador
Date: Sat Dec 03 2005 - 10:57:16 EST


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@xxxxxxxxxx>


---

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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/