summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/tuner-core.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-02-08 20:15:34 -0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-02-08 20:15:34 -0200
commitda650de844d58ed606690cac477680c994a70c80 (patch)
tree34a3f126017a35d801d1a52c2fecf4466758b134 /linux/drivers/media/video/tuner-core.c
parentc9dbd667d1f27adc3a3da5d2dd2c6580f26e0fcf (diff)
downloadmediapointer-dvb-s2-da650de844d58ed606690cac477680c994a70c80.tar.gz
mediapointer-dvb-s2-da650de844d58ed606690cac477680c994a70c80.tar.bz2
XC3028 code marked with an special define option
From: Mauro Carvalho Chehab <mchehab@infradead.org> - 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 'linux/drivers/media/video/tuner-core.c')
-rw-r--r--linux/drivers/media/video/tuner-core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/video/tuner-core.c b/linux/drivers/media/video/tuner-core.c
index 007a3a8b4..553d80394 100644
--- a/linux/drivers/media/video/tuner-core.c
+++ b/linux/drivers/media/video/tuner-core.c
@@ -245,9 +245,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;