xref: /linux/drivers/media/dvb-frontends/stv6111.h (revision c0da4fa0d1a54495d6055c009ac46b76d1da2c86)
1 #ifndef _STV6111_H_
2 #define _STV6111_H_
3 
4 #if IS_REACHABLE(CONFIG_DVB_STV6111)
5 
6 struct dvb_frontend *stv6111_attach(struct dvb_frontend *fe,
7 				    struct i2c_adapter *i2c, u8 adr);
8 
9 #else
10 
11 static 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_ */
22