Commit a1172634 authored by Sylwester Nawrocki's avatar Sylwester Nawrocki Committed by Mauro Carvalho Chehab

[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: default avatarSylwester Nawrocki <snjw23@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 3288e201
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
extern int debug; extern int debug;
extern struct usb_driver as102_usb_driver; extern struct usb_driver as102_usb_driver;
extern int elna_enable;
#define dprintk(debug, args...) \ #define dprintk(debug, args...) \
do { if (debug) { \ do { if (debug) { \
......
...@@ -23,8 +23,6 @@ ...@@ -23,8 +23,6 @@
#include "as10x_types.h" #include "as10x_types.h"
#include "as10x_cmd.h" #include "as10x_cmd.h"
extern int elna_enable;
static void as10x_fe_copy_tps_parameters(struct dvb_frontend_parameters *dst, static void as10x_fe_copy_tps_parameters(struct dvb_frontend_parameters *dst,
struct as10x_tps *src); struct as10x_tps *src);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment