From 5c4a4b528b944a24b39c6ad8cc1c33099b8c0f4d Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Mon, 3 Jan 2005 23:43:04 +0000 Subject: [PATCH] fix rtlinux compile --- include/linux/comedi_rt.h | 1 + 1 file changed, 1 insertion(+) 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 ); -- 2.26.2