From: Frank Mori Hess Date: Thu, 9 Sep 2004 11:49:25 +0000 (+0000) Subject: fix argument to rtl_delay for rtlinux X-Git-Tag: r0_7_69~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=538b3ca54b2cdfcdd27f82a9895d75b7a370d559;p=comedi.git fix argument to rtl_delay for rtlinux --- diff --git a/include/linux/comedi_rt.h b/include/linux/comedi_rt.h index aa179922..78191f7e 100644 --- a/include/linux/comedi_rt.h +++ b/include/linux/comedi_rt.h @@ -132,9 +132,9 @@ static inline void comedi_udelay( unsigned int usec ) { #if defined(CONFIG_COMEDI_RTAI) static const int nanosec_per_usec = 1000; - rt_busy_sleep( usec * nanosec_per_usec ); + rt_busy_sleep(usec * nanosec_per_usec); #elif defined(CONFIG_COMEDI_RTL) - rtl_delay(usec); + rtl_delay(usec * nanosec_per_usec); #else udelay( usec ); #endif