aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners/tda827x.h
diff options
context:
space:
mode:
authorOndrej Zary <linux@rainbow-software.org>2013-04-06 13:29:29 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-04-08 06:05:15 -0400
commit1bacb2df3bc999dcad21e9aab6bdb60d6dc7bc02 (patch)
treefcbd760fce71aac385869988b446553b55a1dd9a /drivers/media/tuners/tda827x.h
parent34fe2784b4aabeec6d2afbd132d070b20abea132 (diff)
[media] tda8290: change magic LNA config values to enum
Use enum instead of magic values for LNA config in tda8290. Update tda827x, tda18271 and saa7134 to use the enum too. Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/tuners/tda827x.h')
-rw-r--r--drivers/media/tuners/tda827x.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/tuners/tda827x.h b/drivers/media/tuners/tda827x.h
index 9432b5b6121b..b64292152baf 100644
--- a/drivers/media/tuners/tda827x.h
+++ b/drivers/media/tuners/tda827x.h
@@ -26,6 +26,7 @@
26 26
27#include <linux/i2c.h> 27#include <linux/i2c.h>
28#include "dvb_frontend.h" 28#include "dvb_frontend.h"
29#include "tda8290.h"
29 30
30struct tda827x_config 31struct tda827x_config
31{ 32{
@@ -34,7 +35,7 @@ struct tda827x_config
34 int (*sleep) (struct dvb_frontend *fe); 35 int (*sleep) (struct dvb_frontend *fe);
35 36
36 /* interface to tda829x driver */ 37 /* interface to tda829x driver */
37 unsigned int config; 38 enum tda8290_lna config;
38 int switch_addr; 39 int switch_addr;
39 40
40 void (*agcf)(struct dvb_frontend *fe); 41 void (*agcf)(struct dvb_frontend *fe);