aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tda8290.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/tda8290.h')
-rw-r--r--drivers/media/video/tda8290.h8
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 @@
24extern int tda8290_probe(struct tuner *t); 24extern int tda8290_probe(struct tuner *t);
25 25
26extern int tda8290_attach(struct tuner *t); 26extern int tda8290_attach(struct tuner *t);
27extern int tda8295_attach(struct tuner *t);
27#else 28#else
28static inline int tda8290_probe(struct tuner *t) 29static 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
42static 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__ */