summaryrefslogtreecommitdiff
path: root/wct1xxp.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 /wct1xxp.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 'wct1xxp.c')
-rwxr-xr-xwct1xxp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wct1xxp.c b/wct1xxp.c
index 63f8baf..760bf2b 100755
--- a/wct1xxp.c
+++ b/wct1xxp.c
@@ -1390,7 +1390,7 @@ static struct pci_driver t1xxp_driver = {
static int __init t1xxp_init(void)
{
int res;
- res = pci_module_init(&t1xxp_driver);
+ res = zap_pci_module(&t1xxp_driver);
if (res)
return -ENODEV;
return 0;