fix rtlinux compile
authorFrank Mori Hess <fmhess@speakeasy.net>
Mon, 3 Jan 2005 23:43:04 +0000 (23:43 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Mon, 3 Jan 2005 23:43:04 +0000 (23:43 +0000)
include/linux/comedi_rt.h

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