0001
0002
0003
0004
0005
0006
0007
0008 #ifndef ZL10353_H
0009 #define ZL10353_H
0010
0011 #include <linux/dvb/frontend.h>
0012
0013 struct zl10353_config
0014 {
0015
0016 u8 demod_address;
0017
0018
0019 int adc_clock;
0020 int if2;
0021
0022
0023 int no_tuner;
0024
0025
0026 int parallel_ts;
0027
0028
0029 u8 disable_i2c_gate_ctrl:1;
0030
0031
0032 u8 clock_ctl_1;
0033 u8 pll_0;
0034 };
0035
0036 #if IS_REACHABLE(CONFIG_DVB_ZL10353)
0037 extern struct dvb_frontend* zl10353_attach(const struct zl10353_config *config,
0038 struct i2c_adapter *i2c);
0039 #else
0040 static inline struct dvb_frontend* zl10353_attach(const struct zl10353_config *config,
0041 struct i2c_adapter *i2c)
0042 {
0043 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
0044 return NULL;
0045 }
0046 #endif
0047
0048 #endif