Commit dc1da7f7 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

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: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent be29eac8
......@@ -5,5 +5,6 @@
extern struct class *comedi_class;
extern const struct file_operations comedi_fops;
extern int comedi_autoconfig;
extern struct comedi_driver *comedi_drivers;
#endif /* _COMEDI_FOPS_H */
......@@ -30,11 +30,10 @@
#define __NO_VERSION__
#include "comedidev.h"
#include "comedi_fops.h"
#include <linux/proc_fs.h>
/* #include <linux/string.h> */
extern struct comedi_driver *comedi_drivers;
int comedi_read_procmem(char *buf, char **start, off_t offset, int len,
int *eof, void *data)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment