aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tuner-core.c
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-10-21 19:48:48 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 16:01:10 -0500
commit31c9584c0b071dfa7a75db6e21cc727f728f97b0 (patch)
tree50a0e0b7d342fe00d2505ec69f324551659b4172 /drivers/media/video/tuner-core.c
parent5c82f4497b46e9c3877618bc36661a4abbf9c646 (diff)
V4L/DVB (6443): make tda9887 build selectable via Kconfig
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Reviewed-by: Hans Verkuil <hverkuil@xs4all.nl> 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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/tuner-core.c b/drivers/media/video/tuner-core.c
index 3de03da28da0..da16bf998fbe 100644
--- a/drivers/media/video/tuner-core.c
+++ b/drivers/media/video/tuner-core.c
@@ -26,6 +26,7 @@
26#include "tea5767.h" 26#include "tea5767.h"
27#include "tuner-xc2028.h" 27#include "tuner-xc2028.h"
28#include "tuner-simple.h" 28#include "tuner-simple.h"
29#include "tda9887.h"
29 30
30#define UNSET (-1U) 31#define UNSET (-1U)
31 32
@@ -344,7 +345,7 @@ static void set_type(struct i2c_client *c, unsigned int type,
344 break; 345 break;
345 } 346 }
346 case TUNER_TDA9887: 347 case TUNER_TDA9887:
347 tda9887_tuner_init(t); 348 tda9887_attach(t);
348 break; 349 break;
349 default: 350 default:
350 attach_simple_tuner(t); 351 attach_simple_tuner(t);