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

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 *    Support for LGDT3306A - 8VSB/QAM-B
 *
 *    Copyright (C) 2013,2014 Fred Richter <[email protected]>
 *      based on lgdt3305.[ch] by Michael Krufky
 */

#ifndef _LGDT3306A_H_
#define _LGDT3306A_H_

#include <linux/i2c.h>
#include <media/dvb_frontend.h>


enum lgdt3306a_mpeg_mode {};

enum lgdt3306a_tp_clock_edge {};

enum lgdt3306a_tp_valid_polarity {};

struct lgdt3306a_config {};

#if IS_REACHABLE(CONFIG_DVB_LGDT3306A)
struct dvb_frontend *lgdt3306a_attach(const struct lgdt3306a_config *config,
				      struct i2c_adapter *i2c_adap);
#else
static inline
struct dvb_frontend *lgdt3306a_attach(const struct lgdt3306a_config *config,
				      struct i2c_adapter *i2c_adap)
{
	printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
	return NULL;
}
#endif /* CONFIG_DVB_LGDT3306A */

#endif /* _LGDT3306A_H_ */