0001
0002
0003
0004
0005 #ifndef __MT20XX_H__
0006 #define __MT20XX_H__
0007
0008 #include <linux/i2c.h>
0009 #include <media/dvb_frontend.h>
0010
0011 #if IS_REACHABLE(CONFIG_MEDIA_TUNER_MT20XX)
0012 extern struct dvb_frontend *microtune_attach(struct dvb_frontend *fe,
0013 struct i2c_adapter* i2c_adap,
0014 u8 i2c_addr);
0015 #else
0016 static inline struct dvb_frontend *microtune_attach(struct dvb_frontend *fe,
0017 struct i2c_adapter* i2c_adap,
0018 u8 i2c_addr)
0019 {
0020 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
0021 return NULL;
0022 }
0023 #endif
0024
0025 #endif