1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3     Driver for Zarlink ZL10039 DVB-S tuner
4 
5     Copyright (C) 2007 Jan D. Louw <jd.louw@mweb.co.za>
6 
7 */
8 
9 #ifndef ZL10039_H
10 #define ZL10039_H
11 
12 #if IS_REACHABLE(CONFIG_DVB_ZL10039)
13 struct dvb_frontend *zl10039_attach(struct dvb_frontend *fe,
14 					u8 i2c_addr,
15 					struct i2c_adapter *i2c);
16 #else
zl10039_attach(struct dvb_frontend * fe,u8 i2c_addr,struct i2c_adapter * i2c)17 static inline struct dvb_frontend *zl10039_attach(struct dvb_frontend *fe,
18 					u8 i2c_addr,
19 					struct i2c_adapter *i2c)
20 {
21 	printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
22 	return NULL;
23 }
24 #endif /* CONFIG_DVB_ZL10039 */
25 
26 #endif /* ZL10039_H */
27