Staging: comedi: comedi_rt_task_context_t fix
authorIan Abbott <abbotti@mev.co.uk>
Tue, 16 Dec 2008 13:09:56 +0000 (13:09 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Apr 2009 21:53:52 +0000 (14:53 -0700)
Fix redefinition of macro comedi_rt_task_context_t

From: Ian Abbott <abbotti@mev.co.uk>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: David Schleef <ds@schleef.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/comedi_rt_timer.c

index e0b76cc8bd06363057f84757f254a8214f999ac1..878160eae080929fafa3f1b57ffd86b6f6e46ad6 100644 (file)
@@ -104,8 +104,6 @@ static inline RTIME nano2count(long long ns)
 #define start_rt_timer(x)
 #define stop_rt_timer()
 
-#define comedi_rt_task_context_t       int
-
 #endif
 #ifdef CONFIG_COMEDI_RTAI
 #include <rtai.h>