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

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
    Driver for STV0297 demodulator

    Copyright (C) 2003-2004 Dennis Noermann <[email protected]>

*/

#ifndef STV0297_H
#define STV0297_H

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

struct stv0297_config
{};

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

#endif // STV0297_H