diff options
author | Sylwester Nawrocki <snjw23@gmail.com> | 2011-11-06 19:31:48 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-11-08 13:32:06 (GMT) |
commit | a11726349c4a5add63a9d51c0e8079e0e9f20624 (patch) | |
tree | 2c8b2f5c500e6481393d5dc03ba91bf670083082 /drivers/staging/media | |
parent | 3288e201a1308051b9c8ee858437ab9ef3bcac41 (diff) | |
download | linux-fsl-qoriq-a11726349c4a5add63a9d51c0e8079e0e9f20624.tar.xz |
[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')
-rw-r--r-- | drivers/staging/media/as102/as102_drv.h | 1 | ||||
-rw-r--r-- | drivers/staging/media/as102/as102_fe.c | 2 |
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 d32019c..06466fd 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 7d7dd55..c2adfe5 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); |