From: Ebru Akagunduz Date: Wed, 19 Mar 2014 00:38:50 +0000 (+0200) Subject: Staging: cxt1e1: Fix externs should be avoided in .c files in comet.c X-Git-Tag: MMI-PSA29.97-13-9~12500^2~44 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=07c452d4b9b9463a15a58948c88c291f381459ca;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/cxt1e1/comet.c b/drivers/staging/cxt1e1/comet.c index c092da576cb0..7005ad022339 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 40dbe2c623c4..ee9d39bbd251 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 d41fb79e3304..9b4198b1e634 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 c1bdfc4f9e4b..7b4f6f2108e3 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 697f1943670f..2916c2cb13f9 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;