aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tda8290.h
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-12-24 04:36:14 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 19:04:20 -0200
commitc90762799c42df203fc2c9c1a2ac39f154f8faca (patch)
tree3ceeb7cea8cc1ae0e5b94d1ae99c144d985a8006 /drivers/media/video/tda8290.h
parentV4L/DVB (6907): tda18271: create separate calc_pll functions (diff)
downloadlinux-dev-c90762799c42df203fc2c9c1a2ac39f154f8faca.tar.xz
linux-dev-c90762799c42df203fc2c9c1a2ac39f154f8faca.zip
V4L/DVB (6908): tda8290: add the option not to probe for tuners passed into tda829x_config
Prevent the tda8290 module from probing for tuners during tda829x_attach, by passing: .probe_tuner = TDA829X_DONT_PROBE, ...in struct tda829x_config Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to '')
-rw-r--r--drivers/media/video/tda8290.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/video/tda8290.h b/drivers/media/video/tda8290.h
index 7bce03183d08..dc8ef310b7b2 100644
--- a/drivers/media/video/tda8290.h
+++ b/drivers/media/video/tda8290.h
@@ -23,6 +23,10 @@
struct tda829x_config {
unsigned int *lna_cfg;
int (*tuner_callback) (void *dev, int command, int arg);
+
+ unsigned int probe_tuner:1;
+#define TDA829X_PROBE_TUNER 0
+#define TDA829X_DONT_PROBE 1
};
#if defined(CONFIG_TUNER_TDA8290) || (defined(CONFIG_TUNER_TDA8290_MODULE) && defined(MODULE))