1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 #ifndef __TUNER_SIMPLE_H__
6 #define __TUNER_SIMPLE_H__
9 #include <media/dvb_frontend.h>
11 #if IS_REACHABLE(CONFIG_MEDIA_TUNER_SIMPLE)
12 extern struct dvb_frontend
*simple_tuner_attach(struct dvb_frontend
*fe
,
13 struct i2c_adapter
*i2c_adap
,
17 static inline struct dvb_frontend
*simple_tuner_attach(struct dvb_frontend
*fe
,
18 struct i2c_adapter
*i2c_adap
,
22 printk(KERN_WARNING
"%s: driver disabled by Kconfig\n", __func__
);
27 #endif /* __TUNER_SIMPLE_H__ */