From: Frank Mori Hess Date: Wed, 3 Sep 2003 19:46:20 +0000 (+0000) Subject: define COMEDI_VERSION() X-Git-Tag: r0_7_69~235 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ddaae19e74e9debcd0cef754acc759cbe709409b;p=comedi.git define COMEDI_VERSION() --- 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