提交 a1172634 编写于 作者: S Sylwester Nawrocki 提交者: 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: NSylwester Nawrocki <snjw23@gmail.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 3288e201
......@@ -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) { \
......
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册