aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/mt20xx.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/mt20xx.h')
-rw-r--r--drivers/media/video/mt20xx.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/media/video/mt20xx.h b/drivers/media/video/mt20xx.h
index 877dbef891ea..5e9c825d2e91 100644
--- a/drivers/media/video/mt20xx.h
+++ b/drivers/media/video/mt20xx.h
@@ -20,8 +20,18 @@
20#include <linux/i2c.h> 20#include <linux/i2c.h>
21#include "dvb_frontend.h" 21#include "dvb_frontend.h"
22 22
23#if defined(CONFIG_TUNER_MT20XX) || (defined(CONFIG_TUNER_MT20XX_MODULE) && defined(MODULE))
23extern struct dvb_frontend *microtune_attach(struct dvb_frontend *fe, 24extern struct dvb_frontend *microtune_attach(struct dvb_frontend *fe,
24 struct i2c_adapter* i2c_adap, 25 struct i2c_adapter* i2c_adap,
25 u8 i2c_addr); 26 u8 i2c_addr);
27#else
28static inline struct dvb_frontend *microtune_attach(struct dvb_frontend *fe,
29 struct i2c_adapter* i2c_adap,
30 u8 i2c_addr)
31{
32 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __FUNCTION__);
33 return NULL;
34}
35#endif
26 36
27#endif /* __MT20XX_H__ */ 37#endif /* __MT20XX_H__ */