[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:
Sylwester Nawrocki 2011-11-06 16:31:48 -03:00 committed by Mauro Carvalho Chehab
parent 3288e201a1
commit a11726349c
2 changed files with 1 additions and 2 deletions

View File

@ -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) { \

View File

@ -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);