#ifndef __DVB_STV6110_H__
#define __DVB_STV6110_H__
#include <linux/i2c.h>
#include <media/dvb_frontend.h>
#define RSTV6110_CTRL1 …
#define RSTV6110_CTRL2 …
#define RSTV6110_TUNING1 …
#define RSTV6110_TUNING2 …
#define RSTV6110_CTRL3 …
#define RSTV6110_STAT1 …
#define RSTV6110_STAT2 …
#define RSTV6110_STAT3 …
struct stv6110_config { … };
#if IS_REACHABLE(CONFIG_DVB_STV6110)
extern struct dvb_frontend *stv6110_attach(struct dvb_frontend *fe,
const struct stv6110_config *config,
struct i2c_adapter *i2c);
#else
static inline struct dvb_frontend *stv6110_attach(struct dvb_frontend *fe,
const struct stv6110_config *config,
struct i2c_adapter *i2c)
{
printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
return NULL;
}
#endif
#endif