diff options
author | Ebru Akagunduz <ebru.akagunduz@gmail.com> | 2014-03-19 00:38:50 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-03-19 16:17:23 (GMT) |
commit | 07c452d4b9b9463a15a58948c88c291f381459ca (patch) | |
tree | 0aaa181a8402ff95bdada9b981dc435e85f30ae4 | |
parent | 7184aa9dbe2676d62affbde78fe379b2aebfffce (diff) | |
download | linux-07c452d4b9b9463a15a58948c88c291f381459ca.tar.xz |
Staging: cxt1e1: Fix externs should be avoided in .c files in comet.c
Fix checkpatch.pl issues with externs should be
avoided in comet.c
Signed-off-by: Ebru Akagunduz <ebru.akagunduz@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/cxt1e1/comet.c | 1 | ||||
-rw-r--r-- | drivers/staging/cxt1e1/functions.c | 1 | ||||
-rw-r--r-- | drivers/staging/cxt1e1/hwprobe.c | 1 | ||||
-rw-r--r-- | drivers/staging/cxt1e1/musycc.c | 1 | ||||
-rw-r--r-- | drivers/staging/cxt1e1/pmcc4_sysdep.h | 1 |
5 files changed, 1 insertions, 4 deletions
diff --git a/drivers/staging/cxt1e1/comet.c b/drivers/staging/cxt1e1/comet.c index c092da5..7005ad0 100644 --- a/drivers/staging/cxt1e1/comet.c +++ b/drivers/staging/cxt1e1/comet.c @@ -22,7 +22,6 @@ #include "comet.h" #include "comet_tables.h" -extern int cxt1e1_log_level; #define COMET_NUM_SAMPLES 24 /* Number of entries in the waveform table */ #define COMET_NUM_UNITS 5 /* Number of points per entry in table */ diff --git a/drivers/staging/cxt1e1/functions.c b/drivers/staging/cxt1e1/functions.c index 40dbe2c..ee9d39b 100644 --- a/drivers/staging/cxt1e1/functions.c +++ b/drivers/staging/cxt1e1/functions.c @@ -48,7 +48,6 @@ static int dummy = 0; #endif -extern int cxt1e1_log_level; extern int drvr_state; diff --git a/drivers/staging/cxt1e1/hwprobe.c b/drivers/staging/cxt1e1/hwprobe.c index d41fb79..9b4198b 100644 --- a/drivers/staging/cxt1e1/hwprobe.c +++ b/drivers/staging/cxt1e1/hwprobe.c @@ -31,7 +31,6 @@ #include "sbeproc.h" #endif -extern int cxt1e1_log_level; extern int error_flag; extern int drvr_state; diff --git a/drivers/staging/cxt1e1/musycc.c b/drivers/staging/cxt1e1/musycc.c index c1bdfc4..7b4f6f2 100644 --- a/drivers/staging/cxt1e1/musycc.c +++ b/drivers/staging/cxt1e1/musycc.c @@ -42,7 +42,6 @@ static unsigned int max_bh = 0; /* global driver variables */ extern ci_t *c4_list; extern int drvr_state; -extern int cxt1e1_log_level; extern int cxt1e1_max_mru; extern int cxt1e1_max_mtu; diff --git a/drivers/staging/cxt1e1/pmcc4_sysdep.h b/drivers/staging/cxt1e1/pmcc4_sysdep.h index 697f194..2916c2c 100644 --- a/drivers/staging/cxt1e1/pmcc4_sysdep.h +++ b/drivers/staging/cxt1e1/pmcc4_sysdep.h @@ -60,3 +60,4 @@ void sd_line_is_down (void *user); int sd_queue_stopped (void *user); #endif /*** _INC_PMCC4_SYSDEP_H_ ***/ +extern int cxt1e1_log_level; |