summaryrefslogtreecommitdiffstats
path: root/drivers/staging/media/as102
diff options
context:
space:
mode:
authorSylwester Nawrocki <snjw23@gmail.com>2011-11-06 16:31:48 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-11-08 11:32:06 -0200
commita11726349c4a5add63a9d51c0e8079e0e9f20624 (patch)
tree2c8b2f5c500e6481393d5dc03ba91bf670083082 /drivers/staging/media/as102
parent3288e201a1308051b9c8ee858437ab9ef3bcac41 (diff)
downloadlinux-a11726349c4a5add63a9d51c0e8079e0e9f20624.tar.bz2
[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>
Diffstat (limited to 'drivers/staging/media/as102')
-rw-r--r--drivers/staging/media/as102/as102_drv.h1
-rw-r--r--drivers/staging/media/as102/as102_fe.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/media/as102/as102_drv.h b/drivers/staging/media/as102/as102_drv.h
index d32019caf754..06466fdd0e41 100644
--- a/drivers/staging/media/as102/as102_drv.h
+++ b/drivers/staging/media/as102/as102_drv.h
@@ -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) { \
diff --git a/drivers/staging/media/as102/as102_fe.c b/drivers/staging/media/as102/as102_fe.c
index 7d7dd5532fa0..c2adfe5607c6 100644
--- a/drivers/staging/media/as102/as102_fe.c
+++ b/drivers/staging/media/as102/as102_fe.c
@@ -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);