[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>
Esse commit está contido em:
Ondrej Zary
2013-04-06 14:29:29 -03:00
commit de Mauro Carvalho Chehab
commit 1bacb2df3b
6 arquivos alterados com 43 adições e 32 exclusões

Ver arquivo

@@ -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);