From 2e81c0755ce380ca76dc5045a872c9fc432d99d1 Mon Sep 17 00:00:00 2001 From: markster Date: Wed, 26 May 2004 15:45:31 +0000 Subject: Zaptel fixes for 2.6 git-svn-id: http://svn.digium.com/svn/zaptel/trunk@402 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- tor2.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tor2.c') diff --git a/tor2.c b/tor2.c index fd95998..0311f55 100755 --- a/tor2.c +++ b/tor2.c @@ -615,7 +615,11 @@ static void __devexit tor2_remove(struct pci_dev *pdev) static struct pci_driver tor2_driver = { name: "tormenta2", probe: tor2_probe, +#ifdef LINUX26 + remove: __devexit_p(tor2_remove), +#else remove: tor2_remove, +#endif id_table: tor2_pci_ids, }; -- cgit v1.2.3