From e5733592f8e50ee04120a147dc3306dd9a44243c Mon Sep 17 00:00:00 2001 From: kpfleming Date: Tue, 4 Oct 2005 23:08:49 +0000 Subject: use pci_register_driver() on recent kernels (issue #5375, compatibility fix only, no functional difference) git-svn-id: http://svn.digium.com/svn/zaptel/trunk@791 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- wcfxo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wcfxo.c') diff --git a/wcfxo.c b/wcfxo.c index c765f3d..93cc96a 100755 --- a/wcfxo.c +++ b/wcfxo.c @@ -1006,7 +1006,7 @@ static int __init wcfxo_init(void) printk("%d: %s\n", x, fxo_modes[x].name); return -ENODEV; } - res = pci_module_init(&wcfxo_driver); + res = zap_pci_module(&wcfxo_driver); if (res) return -ENODEV; return 0; -- cgit v1.2.3