linux/drivers/media/tuners/mxl5007t.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 *  mxl5007t.h - driver for the MaxLinear MxL5007T silicon tuner
 *
 *  Copyright (C) 2008 Michael Krufky <[email protected]>
 */

#ifndef __MXL5007T_H__
#define __MXL5007T_H__

#include <media/dvb_frontend.h>

/* ------------------------------------------------------------------------- */

enum mxl5007t_if_freq {};

enum mxl5007t_xtal_freq {};

enum mxl5007t_clkout_amp {};

struct mxl5007t_config {};

#if IS_REACHABLE(CONFIG_MEDIA_TUNER_MXL5007T)
extern struct dvb_frontend *mxl5007t_attach(struct dvb_frontend *fe,
					    struct i2c_adapter *i2c, u8 addr,
					    struct mxl5007t_config *cfg);
#else
static inline struct dvb_frontend *mxl5007t_attach(struct dvb_frontend *fe,
						   struct i2c_adapter *i2c,
						   u8 addr,
						   struct mxl5007t_config *cfg)
{
	printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
	return NULL;
}
#endif

#endif /* __MXL5007T_H__ */