#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