From 2b8afaf32a3c42333caa802bc3c4c29a5b7d474c Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Sat, 28 Jan 2006 17:39:17 +0000 Subject: [PATCH] Made it not bother to try and build this module on a 2.4 kernel. --- comedi/drivers/dt9812.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/comedi/drivers/dt9812.c b/comedi/drivers/dt9812.c index b130d627..6acd7cd0 100644 --- a/comedi/drivers/dt9812.c +++ b/comedi/drivers/dt9812.c @@ -43,6 +43,9 @@ for my needs. * says P1). */ +#include +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) + #include #include #include @@ -941,3 +944,5 @@ module_exit (usb_dt9812_exit); MODULE_AUTHOR("Anders Blomdell "); MODULE_DESCRIPTION("Comedi DT9812 driver"); MODULE_LICENSE("GPL"); + +#endif // LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) -- 2.26.2