summaryrefslogtreecommitdiff
path: root/tor2.c
diff options
context:
space:
mode:
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,
};