0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef CX24117_H
0011 #define CX24117_H
0012
0013 #include <linux/dvb/frontend.h>
0014
0015 struct cx24117_config {
0016
0017 u8 demod_address;
0018 };
0019
0020 #if IS_REACHABLE(CONFIG_DVB_CX24117)
0021 extern struct dvb_frontend *cx24117_attach(
0022 const struct cx24117_config *config,
0023 struct i2c_adapter *i2c);
0024 #else
0025 static inline struct dvb_frontend *cx24117_attach(
0026 const struct cx24117_config *config,
0027 struct i2c_adapter *i2c)
0028 {
0029 dev_warn(&i2c->dev, "%s: driver disabled by Kconfig\n", __func__);
0030 return NULL;
0031 }
0032 #endif
0033
0034 #endif