Merge tag 'io_uring-5.11-2021-01-16' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / media / dvb-frontends / zl10039.h
bloba7fcdfba809d747b8904c2e6cd370fcd00b035d1
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 Driver for Zarlink ZL10039 DVB-S tuner
5 Copyright (C) 2007 Jan D. Louw <jd.louw@mweb.co.za>
7 */
9 #ifndef ZL10039_H
10 #define ZL10039_H
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
17 static inline struct dvb_frontend *zl10039_attach(struct dvb_frontend *fe,
18 u8 i2c_addr,
19 struct i2c_adapter *i2c)
21 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
22 return NULL;
24 #endif /* CONFIG_DVB_ZL10039 */
26 #endif /* ZL10039_H */