{
int i;
- printk("comedi: version " COMEDI_VERSION " - David Schleef <ds@stm.lbl.gov>\n");
+ printk("comedi: version " COMEDI_RELEASE " - David Schleef <ds@stm.lbl.gov>\n");
if(register_chrdev(COMEDI_MAJOR,"comedi",&comedi_fops)){
printk("comedi: unable to get major %d\n",COMEDI_MAJOR);
return -EIO;
#include <linux/errno.h>
#include <comedi.h>
#include <linux/config.h>
+#include <comedi/version.h>
#include "kern_compat.h"
int l=0;
l+=sprintf(buf+l,
- "comedi version " COMEDI_VERSION "\n"
+ "comedi version " COMEDI_RELEASE "\n"
"format string: %s\n",
"\"%2d: %-20s %-20s %4d\",i,driver_name,board_name,n_subdevices");