0001
0002
0003
0004
0005
0006
0007
0008 #ifndef MC44S803_H
0009 #define MC44S803_H
0010
0011 struct dvb_frontend;
0012 struct i2c_adapter;
0013
0014 struct mc44s803_config {
0015 u8 i2c_address;
0016 u8 dig_out;
0017 };
0018
0019 #if IS_REACHABLE(CONFIG_MEDIA_TUNER_MC44S803)
0020 extern struct dvb_frontend *mc44s803_attach(struct dvb_frontend *fe,
0021 struct i2c_adapter *i2c, struct mc44s803_config *cfg);
0022 #else
0023 static inline struct dvb_frontend *mc44s803_attach(struct dvb_frontend *fe,
0024 struct i2c_adapter *i2c, struct mc44s803_config *cfg)
0025 {
0026 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
0027 return NULL;
0028 }
0029 #endif
0030
0031 #endif