mirror of https://gitee.com/openkylin/linux.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 <ebru.akagunduz@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
7184aa9dbe
commit
07c452d4b9
|
@ -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 */
|
||||
|
|
|
@ -48,7 +48,6 @@ static int dummy = 0;
|
|||
|
||||
#endif
|
||||
|
||||
extern int cxt1e1_log_level;
|
||||
extern int drvr_state;
|
||||
|
||||
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
#include "sbeproc.h"
|
||||
#endif
|
||||
|
||||
extern int cxt1e1_log_level;
|
||||
extern int error_flag;
|
||||
extern int drvr_state;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue