0001
0002
0003
0004
0005
0006
0007
0008 #ifndef _STV6111_H_
0009 #define _STV6111_H_
0010
0011 #if IS_REACHABLE(CONFIG_DVB_STV6111)
0012
0013 struct dvb_frontend *stv6111_attach(struct dvb_frontend *fe,
0014 struct i2c_adapter *i2c, u8 adr);
0015
0016 #else
0017
0018 static inline struct dvb_frontend *stv6111_attach(struct dvb_frontend *fe,
0019 struct i2c_adapter *i2c,
0020 u8 adr)
0021 {
0022 pr_warn("%s: Driver disabled by Kconfig\n", __func__);
0023 return NULL;
0024 }
0025
0026 #endif
0027
0028 #endif