Staging: cxt1e1: Fix externs should be avoided in .c files in comet.c
authorEbru Akagunduz <ebru.akagunduz@gmail.com>
Wed, 19 Mar 2014 00:38:50 +0000 (02:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Mar 2014 16:17:23 +0000 (09:17 -0700)
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>
drivers/staging/cxt1e1/comet.c
drivers/staging/cxt1e1/functions.c
drivers/staging/cxt1e1/hwprobe.c
drivers/staging/cxt1e1/musycc.c
drivers/staging/cxt1e1/pmcc4_sysdep.h

index c092da576cb078ecd9759c90322acc5ac7b6b52f..7005ad022339c3149deaf3151a826be0fcac4fe7 100644 (file)
@@ -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 */
index 40dbe2c623c4ff382c0588cb8c362f866078fbc0..ee9d39bbd2511a0d3495729f6f89c0b4d7757831 100644 (file)
@@ -48,7 +48,6 @@ static int  dummy = 0;
 
 #endif
 
-extern int  cxt1e1_log_level;
 extern int  drvr_state;
 
 
index d41fb79e33048e1e405485a5e8fce19821089ac9..9b4198b1e634e01982b3b3b8720aa9267a9aef2a 100644 (file)
@@ -31,7 +31,6 @@
 #include "sbeproc.h"
 #endif
 
-extern int  cxt1e1_log_level;
 extern int  error_flag;
 extern int  drvr_state;
 
index c1bdfc4f9e4b51678bb4a98c0c77d42a5875efc3..7b4f6f2108e3b9015a9c8b2de81c5998c06a6216 100644 (file)
@@ -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;
index 697f1943670feb07088cf7f3e45fef9e42f81e86..2916c2cb13f96239b6e94a997fc238249d52459f 100644 (file)
@@ -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;