From 6623a1177e5013c4826730b42f2f09f709d493c8 Mon Sep 17 00:00:00 2001 From: Ian Abbott Date: Wed, 5 Dec 2007 14:41:47 +0000 Subject: [PATCH] If comedi_switch_to_rt() is a macro it should stil have a return value. --- include/linux/comedi_rt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/comedi_rt.h b/include/linux/comedi_rt.h index 093989fc..248a3dde 100644 --- a/include/linux/comedi_rt.h +++ b/include/linux/comedi_rt.h @@ -76,7 +76,7 @@ extern int rt_pend_call(void (*func) (int arg1, void *arg2), int arg1, #define comedi_free_irq(a,b) free_irq(a,b) #define comedi_rt_init() do{}while(0) #define comedi_rt_cleanup() do{}while(0) -#define comedi_switch_to_rt(a) do{}while(0) +#define comedi_switch_to_rt(a) (-1) #define comedi_switch_to_non_rt(a) do{}while(0) #define comedi_rt_pend_wakeup(a) do{}while(0) -- 2.26.2