diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2010-04-30 22:59:18 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-11 18:35:58 (GMT) |
commit | dc1da7f7bae9e71e56f365d7e987760c88c116bd (patch) | |
tree | a533c4aa56cfa5bb8e21cf22c3041d13dab1944b /drivers | |
parent | be29eac8ed3fd21d86f79d2e84dff49b8a13cd2c (diff) | |
download | linux-dc1da7f7bae9e71e56f365d7e987760c88c116bd.tar.xz |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/comedi/comedi_fops.h | 1 | ||||
-rw-r--r-- | drivers/staging/comedi/proc.c | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/comedi/comedi_fops.h b/drivers/staging/comedi/comedi_fops.h index cb503c8..da4b4f5 100644 --- a/drivers/staging/comedi/comedi_fops.h +++ b/drivers/staging/comedi/comedi_fops.h @@ -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 */ diff --git a/drivers/staging/comedi/proc.c b/drivers/staging/comedi/proc.c index 2b41faf..c0035cb 100644 --- a/drivers/staging/comedi/proc.c +++ b/drivers/staging/comedi/proc.c @@ -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) { |