blob: 5bc1228dc9bd9a8ab66e37642ee8ec9829382aff [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001#ifndef _STV6111_H_
2#define _STV6111_H_
3
4#if IS_REACHABLE(CONFIG_DVB_STV6111)
5
6struct dvb_frontend *stv6111_attach(struct dvb_frontend *fe,
7 struct i2c_adapter *i2c, u8 adr);
8
9#else
10
11static inline struct dvb_frontend *stv6111_attach(struct dvb_frontend *fe,
12 struct i2c_adapter *i2c,
13 u8 adr)
14{
15 pr_warn("%s: Driver disabled by Kconfig\n", __func__);
16 return NULL;
17}
18
19#endif /* CONFIG_DVB_STV6111 */
20
21#endif /* _STV6111_H_ */