Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Staging: comedi: fix up remaining coding style issue in proc.c

Move the external variable into a .h file, where it belongs.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

+2 -2
+1
drivers/staging/comedi/comedi_fops.h
··· 5 5 extern struct class *comedi_class; 6 6 extern const struct file_operations comedi_fops; 7 7 extern int comedi_autoconfig; 8 + extern struct comedi_driver *comedi_drivers; 8 9 9 10 #endif /* _COMEDI_FOPS_H */
+1 -2
drivers/staging/comedi/proc.c
··· 30 30 31 31 #define __NO_VERSION__ 32 32 #include "comedidev.h" 33 + #include "comedi_fops.h" 33 34 #include <linux/proc_fs.h> 34 35 /* #include <linux/string.h> */ 35 - 36 - extern struct comedi_driver *comedi_drivers; 37 36 38 37 int comedi_read_procmem(char *buf, char **start, off_t offset, int len, 39 38 int *eof, void *data)