0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015 #ifndef TDA8083_H
0016 #define TDA8083_H
0017
0018 #include <linux/dvb/frontend.h>
0019
0020 struct tda8083_config
0021 {
0022
0023 u8 demod_address;
0024 };
0025
0026 #if IS_REACHABLE(CONFIG_DVB_TDA8083)
0027 extern struct dvb_frontend* tda8083_attach(const struct tda8083_config* config,
0028 struct i2c_adapter* i2c);
0029 #else
0030 static inline struct dvb_frontend* tda8083_attach(const struct tda8083_config* config,
0031 struct i2c_adapter* i2c)
0032 {
0033 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
0034 return NULL;
0035 }
0036 #endif
0037
0038 #endif