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