summaryrefslogtreecommitdiff
path: root/wcfxo.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-10-04 23:08:49 +0000
committerkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-10-04 23:08:49 +0000
commite5733592f8e50ee04120a147dc3306dd9a44243c (patch)
tree8ba0e90819056b0b1fd0c42bfb0e8025739a1781 /wcfxo.c
parent7f098d0f207c327e94117599f796411a33d52e94 (diff)
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
Diffstat (limited to 'wcfxo.c')
-rwxr-xr-xwcfxo.c2
1 files changed, 1 insertions, 1 deletions
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;