aboutsummaryrefslogtreecommitdiff
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 9b63e62b3a0..dbbcb0f001e 100644
--- a/drivers/media/video/tda8290.h
+++ b/drivers/media/video/tda8290.h
@@ -24,6 +24,7 @@
extern int tda8290_probe(struct tuner *t);
extern int tda8290_attach(struct tuner *t);
+extern int tda8295_attach(struct tuner *t);
#else
static inline int tda8290_probe(struct tuner *t)
{
@@ -37,6 +38,13 @@ static inline int tda8290_attach(struct tuner *t)
__FUNCTION__);
return -EINVAL;
}
+
+static inline int tda8295_attach(struct tuner *t)
+{
+ printk(KERN_INFO "%s: not probed - driver disabled by Kconfig\n",
+ __FUNCTION__);
+ return -EINVAL;
+}
#endif
#endif /* __TDA8290_H__ */