summaryrefslogtreecommitdiff
path: root/zaptel.h
diff options
context:
space:
mode:
Diffstat (limited to 'zaptel.h')
-rwxr-xr-xzaptel.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/zaptel.h b/zaptel.h
index 8146b63..07cbfdf 100755
--- a/zaptel.h
+++ b/zaptel.h
@@ -48,6 +48,12 @@
#define LINUX26
#endif
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,10)
+#define zap_pci_module pci_register_driver
+#else
+#define zap_pci_module pci_module_init
+#endif
+
#include "ecdis.h"
#include "fasthdlc.h"
#endif