Staging: comedi: fix up remaining coding style issue in proc.c
authorGreg Kroah-Hartman <gregkh@suse.de>
Fri, 30 Apr 2010 22:59:18 +0000 (15:59 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 18:35:58 +0000 (11:35 -0700)
Move the external variable into a .h file, where it belongs.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/comedi_fops.h
drivers/staging/comedi/proc.c

index cb503c88c7f40984de46daa1f82d902c65f152d2..da4b4f5553f590c0f7a07f80993e7f35626636c0 100644 (file)
@@ -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 */
index 2b41faf37c602fc1776e526a7afd67f4f1663a23..c0035cb759aac9905d5176bb2370436f551e61ee 100644 (file)
 
 #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)
 {