projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c239e80
)
compile fix for gcc 2.95 from al14@inf.tu-dresden.de (Andreas Leuner)
author
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 28 Feb 2005 00:22:02 +0000
(
00:22
+0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 28 Feb 2005 00:22:02 +0000
(
00:22
+0000)
comedi/comedi_fops.c
patch
|
blob
|
history
diff --git
a/comedi/comedi_fops.c
b/comedi/comedi_fops.c
index 2d889bada5adc8cff72760199cb973a58cd56591..a49361a38048f7be288c79d5c9c4fba2ddb33a85 100644
(file)
--- a/
comedi/comedi_fops.c
+++ b/
comedi/comedi_fops.c
@@
-1810,8
+1810,8
@@
static void __exit comedi_cleanup(void)
printk("comedi: module in use -- remove delayed\n");
for(i=0;i<COMEDI_NDEVICES;i++){
- class_simple_device_remove(MKDEV(COMEDI_MAJOR, i));
char name[20];
+ class_simple_device_remove(MKDEV(COMEDI_MAJOR, i));
sprintf(name, "comedi%d", i);
devfs_unregister(devfs_find_handle(NULL, name,
COMEDI_MAJOR, i, DEVFS_SPECIAL_CHR, 0));