
From: Domen Puncer <domen@coderock.org>

convert from pci_module_init to pci_register_driver

Signed-off-by: Christophe Lucas <c.lucas@ifrance.com>
Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 25-akpm/drivers/isdn/tpam/tpam_main.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/isdn/tpam/tpam_main.c~drivers-isdn-tpam-convert-to-pci_register_driver drivers/isdn/tpam/tpam_main.c
--- 25/drivers/isdn/tpam/tpam_main.c~drivers-isdn-tpam-convert-to-pci_register_driver	2005-03-06 19:57:39.000000000 -0800
+++ 25-akpm/drivers/isdn/tpam/tpam_main.c	2005-03-06 19:57:39.000000000 -0800
@@ -278,7 +278,7 @@ static struct pci_driver tpam_driver = {
 static int __init tpam_init(void) {
 	int ret;
 	
-	ret = pci_module_init(&tpam_driver);
+	ret = pci_register_driver(&tpam_driver);
 	if (ret)
 		return ret;
 	printk(KERN_INFO "TurboPAM: %d card%s found, driver loaded.\n", 
_
