[patch 4/8] drivers/isdn/hardware/avm/*: convert to pci_register_driver
From: domen
Date: Sun Mar 06 2005 - 18:10:05 EST
convert from pci_module_init to pci_register_driver
Signed-off-by: Christophe Lucas <c.lucas@xxxxxxxxxxx>
Signed-off-by: Domen Puncer <domen@xxxxxxxxxxxx>
---
kj-domen/drivers/isdn/hardware/avm/b1pci.c | 2 +-
kj-domen/drivers/isdn/hardware/avm/c4.c | 2 +-
kj-domen/drivers/isdn/hardware/avm/t1pci.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff -puN drivers/isdn/hardware/avm/b1pci.c~pci_register_driver-drivers_isdn_hardware_avm drivers/isdn/hardware/avm/b1pci.c
--- kj/drivers/isdn/hardware/avm/b1pci.c~pci_register_driver-drivers_isdn_hardware_avm 2005-03-05 16:12:24.000000000 +0100
+++ kj-domen/drivers/isdn/hardware/avm/b1pci.c 2005-03-05 16:12:24.000000000 +0100
@@ -391,7 +391,7 @@ static int __init b1pci_init(void)
strcpy(rev, "1.0");
- err = pci_module_init(&b1pci_pci_driver);
+ err = pci_register_driver(&b1pci_pci_driver);
if (!err) {
strlcpy(capi_driver_b1pci.revision, rev, 32);
register_capi_driver(&capi_driver_b1pci);
diff -puN drivers/isdn/hardware/avm/c4.c~pci_register_driver-drivers_isdn_hardware_avm drivers/isdn/hardware/avm/c4.c
--- kj/drivers/isdn/hardware/avm/c4.c~pci_register_driver-drivers_isdn_hardware_avm 2005-03-05 16:12:24.000000000 +0100
+++ kj-domen/drivers/isdn/hardware/avm/c4.c 2005-03-05 16:12:24.000000000 +0100
@@ -1288,7 +1288,7 @@ static int __init c4_init(void)
} else
strcpy(rev, "1.0");
- err = pci_module_init(&c4_pci_driver);
+ err = pci_register_driver(&c4_pci_driver);
if (!err) {
strlcpy(capi_driver_c2.revision, rev, 32);
register_capi_driver(&capi_driver_c2);
diff -puN drivers/isdn/hardware/avm/t1pci.c~pci_register_driver-drivers_isdn_hardware_avm drivers/isdn/hardware/avm/t1pci.c
--- kj/drivers/isdn/hardware/avm/t1pci.c~pci_register_driver-drivers_isdn_hardware_avm 2005-03-05 16:12:24.000000000 +0100
+++ kj-domen/drivers/isdn/hardware/avm/t1pci.c 2005-03-05 16:12:24.000000000 +0100
@@ -241,7 +241,7 @@ static int __init t1pci_init(void)
} else
strcpy(rev, "1.0");
- err = pci_module_init(&t1pci_pci_driver);
+ err = pci_register_driver(&t1pci_pci_driver);
if (!err) {
strlcpy(capi_driver_t1pci.revision, rev, 32);
register_capi_driver(&capi_driver_t1pci);
_
-
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/