[media] staging: as102: Move variable declarations to the header
authorSylwester Nawrocki <snjw23@gmail.com>
Sun, 6 Nov 2011 19:31:48 +0000 (16:31 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 8 Nov 2011 13:32:06 +0000 (11:32 -0200)
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>
drivers/staging/media/as102/as102_drv.h
drivers/staging/media/as102/as102_fe.c

index d32019c..06466fd 100644 (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) {       \
index 7d7dd55..c2adfe5 100644 (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);