aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tuner-core.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-02-27 00:07:37 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-02-27 00:07:37 -0300
commitcfcd718d492d401a7d8a7ee3a85e48164b56e2e2 (patch)
treee6724d27b0befb5891ad9161ea72845c8addc9fa /drivers/media/video/tuner-core.c
parentV4L/DVB (3293): Fixed amux hauppauge hvr900/terratec hybrid xs (diff)
downloadlinux-dev-cfcd718d492d401a7d8a7ee3a85e48164b56e2e2.tar.xz
linux-dev-cfcd718d492d401a7d8a7ee3a85e48164b56e2e2.zip
V4L/DVB (3332): XC3028 code marked with an special define option
- Current xc3028 support is still experimental, requiring more work to be sent to mainstream. So, it was marked inside some defines, in order to be removed by gentree.pl stript. Script also updated to remove it. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/tuner-core.c')
-rw-r--r--drivers/media/video/tuner-core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/tuner-core.c b/drivers/media/video/tuner-core.c
index 4a660a4228b9..3a96cc4ae81d 100644
--- a/drivers/media/video/tuner-core.c
+++ b/drivers/media/video/tuner-core.c
@@ -216,9 +216,11 @@ static void set_type(struct i2c_client *c, unsigned int type,
i2c_master_send(c,buffer,4);
default_tuner_init(c);
break;
+#ifdef CONFIG_XC3028
case TUNER_XCEIVE_XC3028:
xc3028_init(c);
break;
+#endif
default:
default_tuner_init(c);
break;