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