xref: /kernel/linux/linux-5.10/drivers/media/dvb-frontends/zl10039.h (revision 8c2ecf20)
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/drivers/media/dvb-frontends/
18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci    Driver for Zarlink ZL10039 DVB-S tuner
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci    Copyright (C) 2007 Jan D. Louw <jd.louw@mweb.co.za>
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci*/
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci#ifndef ZL10039_H
108c2ecf20Sopenharmony_ci#define ZL10039_H
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci#if IS_REACHABLE(CONFIG_DVB_ZL10039)
138c2ecf20Sopenharmony_cistruct dvb_frontend *zl10039_attach(struct dvb_frontend *fe,
148c2ecf20Sopenharmony_ci					u8 i2c_addr,
158c2ecf20Sopenharmony_ci					struct i2c_adapter *i2c);
168c2ecf20Sopenharmony_ci#else
178c2ecf20Sopenharmony_cistatic inline struct dvb_frontend *zl10039_attach(struct dvb_frontend *fe,
188c2ecf20Sopenharmony_ci					u8 i2c_addr,
198c2ecf20Sopenharmony_ci					struct i2c_adapter *i2c)
208c2ecf20Sopenharmony_ci{
218c2ecf20Sopenharmony_ci	printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
228c2ecf20Sopenharmony_ci	return NULL;
238c2ecf20Sopenharmony_ci}
248c2ecf20Sopenharmony_ci#endif /* CONFIG_DVB_ZL10039 */
258c2ecf20Sopenharmony_ci
268c2ecf20Sopenharmony_ci#endif /* ZL10039_H */
27

Indexes created Thu Nov 07 10:32:03 CST 2024