summaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners/it913x.c
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2013-03-01 00:14:38 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-21 22:59:17 +0100
commitc0d300a66979c7a836c75f6e2d33727543245368 (patch)
tree5a0f71918624eb12959dd02fa19f56aeb85bc7c0 /drivers/media/tuners/it913x.c
parent[media] it913x: remove unused variables (diff)
downloadlinux-c0d300a66979c7a836c75f6e2d33727543245368.tar.xz
linux-c0d300a66979c7a836c75f6e2d33727543245368.zip
[media] it913x: include tuner IDs from af9033.h
Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/tuners/it913x.c')
-rw-r--r--drivers/media/tuners/it913x.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/drivers/media/tuners/it913x.c b/drivers/media/tuners/it913x.c
index 6ae9d5ae9654..1cb97092f562 100644
--- a/drivers/media/tuners/it913x.c
+++ b/drivers/media/tuners/it913x.c
@@ -156,22 +156,22 @@ static int it913x_init(struct dvb_frontend *fe)
/* LNA Scripts */
switch (state->tuner_type) {
- case IT9135_51:
+ case AF9033_TUNER_IT9135_51:
set_lna = it9135_51;
break;
- case IT9135_52:
+ case AF9033_TUNER_IT9135_52:
set_lna = it9135_52;
break;
- case IT9135_60:
+ case AF9033_TUNER_IT9135_60:
set_lna = it9135_60;
break;
- case IT9135_61:
+ case AF9033_TUNER_IT9135_61:
set_lna = it9135_61;
break;
- case IT9135_62:
+ case AF9033_TUNER_IT9135_62:
set_lna = it9135_62;
break;
- case IT9135_38:
+ case AF9033_TUNER_IT9135_38:
default:
set_lna = it9135_38;
}
@@ -444,14 +444,14 @@ struct dvb_frontend *it913x_attach(struct dvb_frontend *fe,
state->i2c_addr = i2c_addr;
switch (config) {
- case IT9135_38:
- case IT9135_51:
- case IT9135_52:
+ case AF9033_TUNER_IT9135_38:
+ case AF9033_TUNER_IT9135_51:
+ case AF9033_TUNER_IT9135_52:
state->chip_ver = 0x01;
break;
- case IT9135_60:
- case IT9135_61:
- case IT9135_62:
+ case AF9033_TUNER_IT9135_60:
+ case AF9033_TUNER_IT9135_61:
+ case AF9033_TUNER_IT9135_62:
state->chip_ver = 0x02;
break;
default: