blob: a7fcdfba809d747b8904c2e6cd370fcd00b035d1 [file] [log] [blame]
Thomas Gleixner74ba9202019-05-20 09:19:02 +02001/* SPDX-License-Identifier: GPL-2.0-or-later */
Igor M. Liplianin2ccf5a92009-06-20 09:51:48 -03002/*
3 Driver for Zarlink ZL10039 DVB-S tuner
4
5 Copyright (C) 2007 Jan D. Louw <jd.louw@mweb.co.za>
6
Igor M. Liplianin2ccf5a92009-06-20 09:51:48 -03007*/
8
9#ifndef ZL10039_H
10#define ZL10039_H
11
Arnd Bergmann9b174522015-02-18 14:12:42 -030012#if IS_REACHABLE(CONFIG_DVB_ZL10039)
Igor M. Liplianin2ccf5a92009-06-20 09:51:48 -030013struct dvb_frontend *zl10039_attach(struct dvb_frontend *fe,
14 u8 i2c_addr,
15 struct i2c_adapter *i2c);
16#else
17static 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 */