0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef _ISL6421_H
0012 #define _ISL6421_H
0013
0014 #include <linux/dvb/frontend.h>
0015
0016
0017 #define ISL6421_OLF1 0x01
0018 #define ISL6421_EN1 0x02
0019 #define ISL6421_VSEL1 0x04
0020 #define ISL6421_LLC1 0x08
0021 #define ISL6421_ENT1 0x10
0022 #define ISL6421_ISEL1 0x20
0023 #define ISL6421_DCL 0x40
0024
0025 #if IS_REACHABLE(CONFIG_DVB_ISL6421)
0026
0027 extern struct dvb_frontend *isl6421_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, u8 i2c_addr,
0028 u8 override_set, u8 override_clear, bool override_tone);
0029 #else
0030 static inline struct dvb_frontend *isl6421_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, u8 i2c_addr,
0031 u8 override_set, u8 override_clear, bool override_tone)
0032 {
0033 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
0034 return NULL;
0035 }
0036 #endif
0037
0038 #endif