From: Frank Mori Hess Date: Mon, 3 Jan 2005 23:43:04 +0000 (+0000) Subject: fix rtlinux compile X-Git-Tag: r0_7_70~71 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5c4a4b528b944a24b39c6ad8cc1c33099b8c0f4d;p=comedi.git fix rtlinux compile --- diff --git a/include/linux/comedi_rt.h b/include/linux/comedi_rt.h index 78191f7e..d0c0438f 100644 --- a/include/linux/comedi_rt.h +++ b/include/linux/comedi_rt.h @@ -134,6 +134,7 @@ static inline void comedi_udelay( unsigned int usec ) static const int nanosec_per_usec = 1000; rt_busy_sleep(usec * nanosec_per_usec); #elif defined(CONFIG_COMEDI_RTL) + static const int nanosec_per_usec = 1000; rtl_delay(usec * nanosec_per_usec); #else udelay( usec );