#ifndef CXD2841ER_H
#define CXD2841ER_H
#include <linux/dvb/frontend.h>
#define CXD2841ER_USE_GATECTRL …
#define CXD2841ER_AUTO_IFHZ …
#define CXD2841ER_TS_SERIAL …
#define CXD2841ER_ASCOT …
#define CXD2841ER_EARLY_TUNE …
#define CXD2841ER_NO_WAIT_LOCK …
#define CXD2841ER_NO_AGCNEG …
#define CXD2841ER_TSBITS …
enum cxd2841er_xtal { … };
struct cxd2841er_config { … };
#if IS_REACHABLE(CONFIG_DVB_CXD2841ER)
extern struct dvb_frontend *cxd2841er_attach_s(struct cxd2841er_config *cfg,
struct i2c_adapter *i2c);
extern struct dvb_frontend *cxd2841er_attach_t_c(struct cxd2841er_config *cfg,
struct i2c_adapter *i2c);
#else
static inline struct dvb_frontend *cxd2841er_attach_s(
struct cxd2841er_config *cfg,
struct i2c_adapter *i2c)
{
pr_warn("%s: driver disabled by Kconfig\n", __func__);
return NULL;
}
static inline struct dvb_frontend *cxd2841er_attach_t_c(
struct cxd2841er_config *cfg, struct i2c_adapter *i2c)
{
pr_warn("%s: driver disabled by Kconfig\n", __func__);
return NULL;
}
#endif
#endif