[media] staging: as102: Move variable declarations to the header
Fixes following checkpatch.pl warning: WARNING: externs should be avoided in .c files Cc: Devin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: Sylwester Nawrocki <snjw23@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
3288e201a1
commit
a11726349c
|
@ -29,6 +29,7 @@
|
|||
|
||||
extern int debug;
|
||||
extern struct usb_driver as102_usb_driver;
|
||||
extern int elna_enable;
|
||||
|
||||
#define dprintk(debug, args...) \
|
||||
do { if (debug) { \
|
||||
|
|
|
@ -23,8 +23,6 @@
|
|||
#include "as10x_types.h"
|
||||
#include "as10x_cmd.h"
|
||||
|
||||
extern int elna_enable;
|
||||
|
||||
static void as10x_fe_copy_tps_parameters(struct dvb_frontend_parameters *dst,
|
||||
struct as10x_tps *src);
|
||||
|
||||
|
|
Loading…
Reference in New Issue