From ddaae19e74e9debcd0cef754acc759cbe709409b Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Wed, 3 Sep 2003 19:46:20 +0000 Subject: [PATCH] define COMEDI_VERSION() --- include/linux/comedidev.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/comedidev.h b/include/linux/comedidev.h index 133f44da..f649a277 100644 --- a/include/linux/comedidev.h +++ b/include/linux/comedidev.h @@ -51,6 +51,7 @@ if(comedi_debug)printk("comedi: " format , ## args ); \ } while(0) +#define COMEDI_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c)) #define COMEDI_VERSION_CODE COMEDI_VERSION(COMEDI_MAJORVERSION,COMEDI_MINORVERSION,COMEDI_MICROVERSION) #define COMEDI_RELEASE VERSION -- 2.26.2