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