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