fix argument to rtl_delay for rtlinux
authorFrank Mori Hess <fmhess@speakeasy.net>
Thu, 9 Sep 2004 11:49:25 +0000 (11:49 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Thu, 9 Sep 2004 11:49:25 +0000 (11:49 +0000)
include/linux/comedi_rt.h

index aa1799227c1e2ee7f191b5736cc3f013af4ac319..78191f7e81dff449fa54a859816d6c4c161b8ebd 100644 (file)
@@ -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