From: Ian Abbott Date: Wed, 5 Dec 2007 14:41:47 +0000 (+0000) Subject: If comedi_switch_to_rt() is a macro it should stil have a return value. X-Git-Tag: v0_7_76~29 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6623a1177e5013c4826730b42f2f09f709d493c8;p=comedi.git If comedi_switch_to_rt() is a macro it should stil have a return value. --- 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)