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: NGreg Kroah-Hartman <gregkh@suse.de>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部