Linux 4.16.11
[linux/fpc-iii.git] / drivers / media / dvb-frontends / stv6111.h
blob5bc1228dc9bd9a8ab66e37642ee8ec9829382aff
1 #ifndef _STV6111_H_
2 #define _STV6111_H_
4 #if IS_REACHABLE(CONFIG_DVB_STV6111)
6 struct dvb_frontend *stv6111_attach(struct dvb_frontend *fe,
7 struct i2c_adapter *i2c, u8 adr);
9 #else
11 static inline struct dvb_frontend *stv6111_attach(struct dvb_frontend *fe,
12 struct i2c_adapter *i2c,
13 u8 adr)
15 pr_warn("%s: Driver disabled by Kconfig\n", __func__);
16 return NULL;
19 #endif /* CONFIG_DVB_STV6111 */
21 #endif /* _STV6111_H_ */