diff options
-rw-r--r-- | drivers/staging/comedi/proc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/comedi/proc.c b/drivers/staging/comedi/proc.c index 7db12ac0d28..5a2b72d8757 100644 --- a/drivers/staging/comedi/proc.c +++ b/drivers/staging/comedi/proc.c @@ -85,6 +85,7 @@ int comedi_read_procmem(char *buf, char **start, off_t offset, int len, return l; } +#ifdef CONFIG_PROC_FS void comedi_proc_init(void) { struct proc_dir_entry *comedi_proc; @@ -98,3 +99,4 @@ void comedi_proc_cleanup(void) { remove_proc_entry("comedi", 0); } +#endif |