#ifndef _LGDT3305_H_
#define _LGDT3305_H_
#include <linux/i2c.h>
#include <media/dvb_frontend.h>
enum lgdt3305_mpeg_mode { … };
enum lgdt3305_tp_clock_edge { … };
enum lgdt3305_tp_clock_mode { … };
enum lgdt3305_tp_valid_polarity { … };
enum lgdt_demod_chip_type { … };
struct lgdt3305_config { … };
#if IS_REACHABLE(CONFIG_DVB_LGDT3305)
extern
struct dvb_frontend *lgdt3305_attach(const struct lgdt3305_config *config,
struct i2c_adapter *i2c_adap);
#else
static inline
struct dvb_frontend *lgdt3305_attach(const struct lgdt3305_config *config,
struct i2c_adapter *i2c_adap)
{
printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
return NULL;
}
#endif
#endif