From 445b2409e65af17aed8738a1f8e1b7c2adbd3e56 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Wed, 9 Aug 2000 20:42:48 +0000 Subject: [PATCH] changes due to modbuild --- comedi/comedi_fops.c | 2 +- comedi/comedi_module.h | 1 + comedi/proc.c | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/comedi/comedi_fops.c b/comedi/comedi_fops.c index f93c9f0b..1e781231 100644 --- a/comedi/comedi_fops.c +++ b/comedi/comedi_fops.c @@ -1565,7 +1565,7 @@ int comedi_init(void) { int i; - printk("comedi: version " COMEDI_VERSION " - David Schleef \n"); + printk("comedi: version " COMEDI_RELEASE " - David Schleef \n"); if(register_chrdev(COMEDI_MAJOR,"comedi",&comedi_fops)){ printk("comedi: unable to get major %d\n",COMEDI_MAJOR); return -EIO; diff --git a/comedi/comedi_module.h b/comedi/comedi_module.h index 8c64b0e7..4a1cfdbe 100644 --- a/comedi/comedi_module.h +++ b/comedi/comedi_module.h @@ -31,6 +31,7 @@ #include #include #include +#include #include "kern_compat.h" diff --git a/comedi/proc.c b/comedi/proc.c index 20eed70e..f6e0fbf2 100644 --- a/comedi/proc.c +++ b/comedi/proc.c @@ -65,7 +65,7 @@ int comedi_read_procmem(char *buf,char **start,off_t offset,int len,int *eof,voi 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"); -- 2.26.2