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>
This commit is contained in:
parent
be29eac8ed
commit
dc1da7f7ba
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue