summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorGianluca Gennari <gennarone@gmail.com>2012-01-03 13:47:35 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-01-06 13:12:34 -0200
commit6a2329ad1cb80b158a75bbf1901b86dc2deb88ee (patch)
treeef879f5d7a018f90d7d5e7708d0a0a776c705786 /drivers
parent283342954abf7c860c2e5970d8b096d2ce77665e (diff)
downloadlinux-6a2329ad1cb80b158a75bbf1901b86dc2deb88ee.tar.bz2
[media] af9013: Fix typo in get_frontend() function
This patch fixes an obvious typo in the get_frontend() function of the af9013 driver, recently rewritten by Antti Palosaari. Signed-off-by: Gianluca Gennari <gennarone@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/dvb/frontends/af9013.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/dvb/frontends/af9013.c b/drivers/media/dvb/frontends/af9013.c
index d4227c63986c..d5a95444a16e 100644
--- a/drivers/media/dvb/frontends/af9013.c
+++ b/drivers/media/dvb/frontends/af9013.c
@@ -880,16 +880,16 @@ static int af9013_get_frontend(struct dvb_frontend *fe)
switch ((buf[0] >> 2) & 3) {
case 0:
- c->transmission_mode = GUARD_INTERVAL_1_32;
+ c->guard_interval = GUARD_INTERVAL_1_32;
break;
case 1:
- c->transmission_mode = GUARD_INTERVAL_1_16;
+ c->guard_interval = GUARD_INTERVAL_1_16;
break;
case 2:
- c->transmission_mode = GUARD_INTERVAL_1_8;
+ c->guard_interval = GUARD_INTERVAL_1_8;
break;
case 3:
- c->transmission_mode = GUARD_INTERVAL_1_4;
+ c->guard_interval = GUARD_INTERVAL_1_4;
break;
}