From f206890c29c965f6ef422b318895e11c4039800a Mon Sep 17 00:00:00 2001 From: Michael Krufky Date: Sun, 21 Oct 2007 19:48:48 -0400 Subject: make tda9887 build selectable via Kconfig From: Michael Krufky Signed-off-by: Michael Krufky Reviewed-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- linux/drivers/media/Kconfig | 10 +++++++++ linux/drivers/media/video/Makefile | 3 +- linux/drivers/media/video/tda9887.c | 23 ++++++++++++++------- linux/drivers/media/video/tda9887.h | 33 +++++++++++++++++++++++++++++++ linux/drivers/media/video/tuner-core.c | 3 +- linux/drivers/media/video/tuner-driver.h | 4 --- 6 files changed, 62 insertions(+), 14 deletions(-) --- linux/drivers/media/video/tuner-core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'linux/drivers/media/video/tuner-core.c') diff --git a/linux/drivers/media/video/tuner-core.c b/linux/drivers/media/video/tuner-core.c index ccddf55eb..e78a5c43e 100644 --- a/linux/drivers/media/video/tuner-core.c +++ b/linux/drivers/media/video/tuner-core.c @@ -30,6 +30,7 @@ #include "tea5767.h" #include "tuner-xc2028.h" #include "tuner-simple.h" +#include "tda9887.h" #define UNSET (-1U) @@ -371,7 +372,7 @@ static void set_type(struct i2c_client *c, unsigned int type, break; } case TUNER_TDA9887: - tda9887_tuner_init(t); + tda9887_attach(t); break; default: attach_simple_tuner(t); -- cgit v1.2.3