Merge tag 'io_uring-5.11-2021-01-16' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / media / tuners / mt20xx.h
blob6a8b9b894a4bbfe8d78ea683f577e9928986380a
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 */
5 #ifndef __MT20XX_H__
6 #define __MT20XX_H__
8 #include <linux/i2c.h>
9 #include <media/dvb_frontend.h>
11 #if IS_REACHABLE(CONFIG_MEDIA_TUNER_MT20XX)
12 extern struct dvb_frontend *microtune_attach(struct dvb_frontend *fe,
13 struct i2c_adapter* i2c_adap,
14 u8 i2c_addr);
15 #else
16 static inline struct dvb_frontend *microtune_attach(struct dvb_frontend *fe,
17 struct i2c_adapter* i2c_adap,
18 u8 i2c_addr)
20 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
21 return NULL;
23 #endif
25 #endif /* __MT20XX_H__ */