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

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * stv0900.h
 *
 * Driver for ST STV0900 satellite demodulator IC.
 *
 * Copyright (C) ST Microelectronics.
 * Copyright (C) 2009 NetUP Inc.
 * Copyright (C) 2009 Igor M. Liplianin <[email protected]>
 */

#ifndef STV0900_H
#define STV0900_H

#include <linux/dvb/frontend.h>
#include <media/dvb_frontend.h>

struct stv0900_reg {};

struct stv0900_config {};

#if IS_REACHABLE(CONFIG_DVB_STV0900)
extern struct dvb_frontend *stv0900_attach(const struct stv0900_config *config,
					struct i2c_adapter *i2c, int demod);
#else
static inline struct dvb_frontend *stv0900_attach(const struct stv0900_config *config,
					struct i2c_adapter *i2c, int demod)
{
	printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
	return NULL;
}
#endif

#endif