[media] dvb: Add ops.delsys to the remaining frontends
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 31 Dec 2011 12:38:23 +0000 (10:38 -0200)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 31 Dec 2011 12:38:23 +0000 (10:38 -0200)
A few drivers don't have .delsys. Add it, in order to allow
future patches for dvb_frontend.c to not use info.type.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/s5h1432.c
drivers/media/dvb/frontends/stv0297.c
drivers/media/dvb/frontends/tda10048.c
drivers/media/dvb/pt1/va1j5jf8007s.c
drivers/media/dvb/pt1/va1j5jf8007t.c

index 3a9050f..baa3aae 100644 (file)
@@ -375,7 +375,7 @@ error:
 EXPORT_SYMBOL(s5h1432_attach);
 
 static struct dvb_frontend_ops s5h1432_ops = {
-
+       .delsys = { SYS_DVBT },
        .info = {
                 .name = "Samsung s5h1432 DVB-T Frontend",
                 .type = FE_OFDM,
index dd0a190..8f74762 100644 (file)
@@ -690,7 +690,7 @@ error:
 }
 
 static struct dvb_frontend_ops stv0297_ops = {
-
+       .delsys = { SYS_DVBC },
        .info = {
                 .name = "ST STV0297 DVB-C",
                 .type = FE_QAM,
index 99bf0c0..57711cb 100644 (file)
@@ -1157,7 +1157,7 @@ error:
 EXPORT_SYMBOL(tda10048_attach);
 
 static struct dvb_frontend_ops tda10048_ops = {
-
+       .delsys = { SYS_DVBT },
        .info = {
                .name                   = "NXP TDA10048HN DVB-T",
                .type                   = FE_OFDM,
index 78344e3..ef74440 100644 (file)
@@ -579,6 +579,7 @@ static void va1j5jf8007s_release(struct dvb_frontend *fe)
 }
 
 static struct dvb_frontend_ops va1j5jf8007s_ops = {
+       .delsys = { SYS_ISDBS },
        .info = {
                .name = "VA1J5JF8007/VA1J5JF8011 ISDB-S",
                .type = FE_QPSK,
index c642820..6eeabc8 100644 (file)
@@ -428,6 +428,7 @@ static void va1j5jf8007t_release(struct dvb_frontend *fe)
 }
 
 static struct dvb_frontend_ops va1j5jf8007t_ops = {
+       .delsys = { SYS_ISDBT },
        .info = {
                .name = "VA1J5JF8007/VA1J5JF8011 ISDB-T",
                .type = FE_OFDM,