From 538b3ca54b2cdfcdd27f82a9895d75b7a370d559 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Thu, 9 Sep 2004 11:49:25 +0000 Subject: [PATCH] fix argument to rtl_delay for rtlinux --- include/linux/comedi_rt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.26.2