summaryrefslogtreecommitdiff
path: root/tor2.c
diff options
context:
space:
mode:
authormarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2004-05-26 15:45:31 +0000
committermarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2004-05-26 15:45:31 +0000
commit2e81c0755ce380ca76dc5045a872c9fc432d99d1 (patch)
tree2cee17934d43ab1c708c54a1c56a488ea86aa73e /tor2.c
parent528f9a5aa0de1d53e0a367655a08882661923413 (diff)
Zaptel fixes for 2.6
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@402 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'tor2.c')
-rwxr-xr-xtor2.c4
1 files changed, 4 insertions, 0 deletions
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,
};