V4L/DVB (7411): use tuner-simple for Philips FCV1236D digital tuning support
authorMichael Krufky <mkrufky@linuxtv.org>
Tue, 22 Apr 2008 17:46:13 +0000 (14:46 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:07:53 +0000 (14:07 -0300)
Convert dvb-bt8xx to use tuner-simple instead of dvb-pll for Philips FCV1236D

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/bt8xx/dvb-bt8xx.c
drivers/media/dvb/bt8xx/dvb-bt8xx.h
drivers/media/video/bt8xx/bttv.h
drivers/media/video/bt8xx/bttvp.h

index 209356be5828427fff3844f1e6888657a5f48dc2..6d8b84490fa86afd5489567e7be9081d33b723e5 100644 (file)
@@ -692,8 +692,9 @@ static void frontend_init(struct dvb_bt8xx_card *card, u32 type)
        case BTTV_BOARD_PC_HDTV:
                card->fe = dvb_attach(or51211_attach, &or51211_config, card->i2c_adapter);
                if (card->fe != NULL)
-                       dvb_attach(dvb_pll_attach, card->fe, 0x61,
-                                  card->i2c_adapter, DVB_PLL_FCV1236D);
+                       dvb_attach(simple_tuner_attach, card->fe,
+                                  card->i2c_adapter, 0x61,
+                                  TUNER_PHILIPS_FCV1236D);
                break;
        }
 
index 436880e68672fe752859135dbff42790fefd93f3..25a23c3c7c666951eec4940acf0cad3d9b61ac42 100644 (file)
@@ -39,6 +39,7 @@
 #include "lgdt330x.h"
 #include "zl10353.h"
 #include "dvb-pll.h"
+#include "tuner-simple.h"
 
 struct dvb_bt8xx_card {
        struct mutex lock;
index 0c859d949c78c345c82df6a0fbe84059ae1df89a..f2393202904b795a6528fab8745ea821b7627c6a 100644 (file)
@@ -19,6 +19,7 @@
 #include <media/ir-common.h>
 #include <media/ir-kbd-i2c.h>
 #include <media/i2c-addr.h>
+#include <media/tuner.h>
 
 /* ---------------------------------------------------------- */
 /* exported by bttv-cards.c                                   */
index 1305d315cfc50227445b952fda59b009b7b3af0d..03816b73f847560571a1bccd3693bdc5502d1666 100644 (file)
@@ -42,7 +42,6 @@
 
 #include <linux/device.h>
 #include <media/videobuf-dma-sg.h>
-#include <media/tuner.h>
 #include <media/tveeprom.h>
 #include <media/ir-common.h>