diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2007-10-22 08:56:38 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 16:01:06 -0500 |
commit | 5bea1cd3871351d70cc7624af138f8aa68b7be77 (patch) | |
tree | 77db506f3fb668e33e091aaa1cda2cf09da85085 /drivers/media/video/tda8290.h | |
parent | ce1f8bdb0cbe9c5f57cf0256ef75fce06152547f (diff) |
V4L/DVB (6435): tda8290: add support for NXP TDA18271 tuner and TDA8295 analog demod
Add basic support for NXP TDA8295 analog demod and TDA18271 tuner silicon.
TDA8295 + TDA8275a not yet tested.
TDA8290 + TDA18271 not yet supported.
Digital mode of TDA18271 not yet tested & needs more work.
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/tda8290.h')
-rw-r--r-- | drivers/media/video/tda8290.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/media/video/tda8290.h b/drivers/media/video/tda8290.h index 9b63e62b3a0f..dbbcb0f001e0 100644 --- a/drivers/media/video/tda8290.h +++ b/drivers/media/video/tda8290.h | |||
@@ -24,6 +24,7 @@ | |||
24 | extern int tda8290_probe(struct tuner *t); | 24 | extern int tda8290_probe(struct tuner *t); |
25 | 25 | ||
26 | extern int tda8290_attach(struct tuner *t); | 26 | extern int tda8290_attach(struct tuner *t); |
27 | extern int tda8295_attach(struct tuner *t); | ||
27 | #else | 28 | #else |
28 | static inline int tda8290_probe(struct tuner *t) | 29 | static inline int tda8290_probe(struct tuner *t) |
29 | { | 30 | { |
@@ -37,6 +38,13 @@ static inline int tda8290_attach(struct tuner *t) | |||
37 | __FUNCTION__); | 38 | __FUNCTION__); |
38 | return -EINVAL; | 39 | return -EINVAL; |
39 | } | 40 | } |
41 | |||
42 | static inline int tda8295_attach(struct tuner *t) | ||
43 | { | ||
44 | printk(KERN_INFO "%s: not probed - driver disabled by Kconfig\n", | ||
45 | __FUNCTION__); | ||
46 | return -EINVAL; | ||
47 | } | ||
40 | #endif | 48 | #endif |
41 | 49 | ||
42 | #endif /* __TDA8290_H__ */ | 50 | #endif /* __TDA8290_H__ */ |