[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 d32019caf754aa2aa312a3a921b84861ad3636d0..06466fdd0e41ffd879f63017d7ff1b434cadffec 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 7d7dd5532fa0dfccf68d34d58a245b74164987e7..c2adfe5607c664bc1f84f2b887525642d25fe48a 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);