[media] ngene: fix commit 36a495a336c3fbbb2f4eeed2a94ab6d5be19d186
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Jan 2013 04:03:14 +0000 (02:03 -0200)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Jan 2013 04:06:58 +0000 (02:06 -0200)
The above commit were applied only partially; it broke tuner and
demod attach, but the part that added it to ngene_info was missing.

Not sure what happened there, but, without this patch, a regression
would be happening.

Also, gcc complains about a defined but not used symbol.

So, apply manually the missing part.

Cc: Patrice Chotard <patricechotard@free.fr>
Cc: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/pci/ngene/ngene-cards.c

index 2a4895b..82318d1 100644 (file)
@@ -732,6 +732,7 @@ static struct ngene_info ngene_info_terratec = {
        .name           = "Terratec Integra/Cinergy2400i Dual DVB-T",
        .io_type        = {NGENE_IO_TSIN, NGENE_IO_TSIN},
        .demod_attach   = {demod_attach_drxd, demod_attach_drxd},
+       .tuner_attach   = {tuner_attach_dtt7520x, tuner_attach_dtt7520x},
        .fe_config      = {&fe_terratec_dvbt_0, &fe_terratec_dvbt_1},
        .i2c_access     = 1,
 };