#ifndef M88RS2000_H
#define M88RS2000_H
#include <linux/dvb/frontend.h>
#include <media/dvb_frontend.h>
struct m88rs2000_config { … };
enum { … };
#if IS_REACHABLE(CONFIG_DVB_M88RS2000)
extern struct dvb_frontend *m88rs2000_attach(
const struct m88rs2000_config *config, struct i2c_adapter *i2c);
#else
static inline struct dvb_frontend *m88rs2000_attach(
const struct m88rs2000_config *config, struct i2c_adapter *i2c)
{
printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
return NULL;
}
#endif
#define RS2000_FE_CRYSTAL_KHZ …
enum { … };
#endif