linux/drivers/media/dvb-frontends/stv090x.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
	STV0900/0903 Multistandard Broadcast Frontend driver
	Copyright (C) Manu Abraham <[email protected]>

	Copyright (C) ST Microelectronics

*/

#ifndef __STV090x_H
#define __STV090x_H

enum stv090x_demodulator {};

enum stv090x_device {};

enum stv090x_mode {};

enum stv090x_tsmode {};

enum stv090x_clkmode {};

enum stv090x_i2crpt {};

enum stv090x_adc_range {};

struct stv090x_config {};

#if IS_REACHABLE(CONFIG_DVB_STV090x)

struct dvb_frontend *stv090x_attach(struct stv090x_config *config,
				    struct i2c_adapter *i2c,
				    enum stv090x_demodulator demod);

#else

static inline struct dvb_frontend *stv090x_attach(const struct stv090x_config *config,
						  struct i2c_adapter *i2c,
						  enum stv090x_demodulator demod)
{
	printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
	return NULL;
}

#endif /* CONFIG_DVB_STV090x */

#endif /* __STV090x_H */