0001
0002
0003
0004
0005
0006
0007
0008 #ifndef DRX39XXJ_H
0009 #define DRX39XXJ_H
0010
0011 #include <linux/dvb/frontend.h>
0012 #include <media/dvb_frontend.h>
0013 #include "drx_driver.h"
0014
0015 struct drx39xxj_state {
0016 struct i2c_adapter *i2c;
0017 struct drx_demod_instance *demod;
0018 struct dvb_frontend frontend;
0019 unsigned int i2c_gate_open:1;
0020 const struct firmware *fw;
0021 };
0022
0023 #if IS_REACHABLE(CONFIG_DVB_DRX39XYJ)
0024 struct dvb_frontend *drx39xxj_attach(struct i2c_adapter *i2c);
0025 #else
0026 static inline struct dvb_frontend *drx39xxj_attach(struct i2c_adapter *i2c) {
0027 return NULL;
0028 };
0029 #endif
0030
0031 #endif