summaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners/tda827x.h
diff options
context:
space:
mode:
authorOndrej Zary <linux@rainbow-software.org>2013-04-06 14:29:29 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-04-08 07:05:15 -0300
commit1bacb2df3bc999dcad21e9aab6bdb60d6dc7bc02 (patch)
treefcbd760fce71aac385869988b446553b55a1dd9a /drivers/media/tuners/tda827x.h
parent34fe2784b4aabeec6d2afbd132d070b20abea132 (diff)
downloadlinux-1bacb2df3bc999dcad21e9aab6bdb60d6dc7bc02.tar.bz2
[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 @@
#include <linux/i2c.h>
#include "dvb_frontend.h"
+#include "tda8290.h"
struct tda827x_config
{
@@ -34,7 +35,7 @@ struct tda827x_config
int (*sleep) (struct dvb_frontend *fe);
/* interface to tda829x driver */
- unsigned int config;
+ enum tda8290_lna config;
int switch_addr;
void (*agcf)(struct dvb_frontend *fe);