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