summaryrefslogtreecommitdiff
path: root/wct1xxp.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 /wct1xxp.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 'wct1xxp.c')
-rwxr-xr-xwct1xxp.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/wct1xxp.c b/wct1xxp.c
index e5d9b06..0c9dbbb 100755
--- a/wct1xxp.c
+++ b/wct1xxp.c
@@ -1364,14 +1364,21 @@ static void __devexit t1xxp_remove_one(struct pci_dev *pdev)
}
}
-static struct pci_device_id t1xxp_pci_tbl[] __devinitdata = {
+static struct pci_device_id t1xxp_pci_tbl[] = {
{ 0xe159, 0x0001, 0x6159, PCI_ANY_ID, 0, 0, (unsigned long) "Digium Wildcard T100P T1/PRI or E100P E1/PRA Board" },
+ { 0 }
};
+MODULE_DEVICE_TABLE(pci,t1xxp_pci_tbl);
+
static struct pci_driver t1xxp_driver = {
name: "t1xxp",
probe: t1xxp_init_one,
+#ifdef LINUX26
+ remove: __devexit_p(t1xxp_remove_one),
+#else
remove: t1xxp_remove_one,
+#endif
suspend: NULL,
resume: NULL,
id_table: t1xxp_pci_tbl,