Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid
[sfrench/cifs-2.6.git] / drivers / media / dvb-frontends / stv6111.h
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_ */