• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Driver for the ST STV6111 tuner
4  *
5  * Copyright (C) 2014 Digital Devices GmbH
6  */
7 
8 #ifndef _STV6111_H_
9 #define _STV6111_H_
10 
11 #if IS_REACHABLE(CONFIG_DVB_STV6111)
12 
13 struct dvb_frontend *stv6111_attach(struct dvb_frontend *fe,
14 				    struct i2c_adapter *i2c, u8 adr);
15 
16 #else
17 
stv6111_attach(struct dvb_frontend * fe,struct i2c_adapter * i2c,u8 adr)18 static inline struct dvb_frontend *stv6111_attach(struct dvb_frontend *fe,
19 						  struct i2c_adapter *i2c,
20 						  u8 adr)
21 {
22 	pr_warn("%s: Driver disabled by Kconfig\n", __func__);
23 	return NULL;
24 }
25 
26 #endif /* CONFIG_DVB_STV6111 */
27 
28 #endif /* _STV6111_H_ */
29