define COMEDI_VERSION()
authorFrank Mori Hess <fmhess@speakeasy.net>
Wed, 3 Sep 2003 19:46:20 +0000 (19:46 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Wed, 3 Sep 2003 19:46:20 +0000 (19:46 +0000)
include/linux/comedidev.h

index 133f44da56f202fd929318e2af1bb85aff9580ab..f649a277dd5794ddfb496b964324bd0ca6ba9c2c 100644 (file)
@@ -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