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