fix for rtlinux-3.0
authorDavid Schleef <ds@schleef.org>
Thu, 11 Jan 2001 21:48:48 +0000 (21:48 +0000)
committerDavid Schleef <ds@schleef.org>
Thu, 11 Jan 2001 21:48:48 +0000 (21:48 +0000)
comedi/comedi_rt.h

index f7a04d5317250b9d3216110c34f89971d0d5fa8d..df76bce2d4eb85638da3ddaaf5552b90c1ede95e 100644 (file)
 #endif
 #ifdef CONFIG_COMEDI_RTL
 #include <rtl_core.h>
+#ifdef RTLINUX_VERSION_CODE
+/* Defined in RTL-3.0pre10, not in RTL-2.2, do not know about RTL-2.3 */
+#else
 #include <asm/rtl_sync.h>
+#endif
 #define rt_printk rtl_printf
 #endif