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 --- wcte11xp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wcte11xp.c') diff --git a/wcte11xp.c b/wcte11xp.c index c217cd3..2c5e372 100755 --- a/wcte11xp.c +++ b/wcte11xp.c @@ -1565,7 +1565,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; -- cgit v1.2.3