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 --- pciradio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pciradio.c') diff --git a/pciradio.c b/pciradio.c index 58df840..0d122aa 100755 --- a/pciradio.c +++ b/pciradio.c @@ -1796,7 +1796,7 @@ static int __init pciradio_init(void) { int res; - res = pci_module_init(&pciradio_driver); + res = zap_pci_module(&pciradio_driver); if (res) return -ENODEV; return 0; -- cgit v1.2.3