From: Frank Mori Hess Date: Sat, 28 Jan 2006 17:39:17 +0000 (+0000) Subject: Made it not bother to try and build this module on a 2.4 kernel. X-Git-Tag: r0_7_71~63 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2b8afaf32a3c42333caa802bc3c4c29a5b7d474c;p=comedi.git Made it not bother to try and build this module on a 2.4 kernel. --- 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)