0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef ZL10039_H
0010 #define ZL10039_H
0011
0012 #if IS_REACHABLE(CONFIG_DVB_ZL10039)
0013 struct dvb_frontend *zl10039_attach(struct dvb_frontend *fe,
0014 u8 i2c_addr,
0015 struct i2c_adapter *i2c);
0016 #else
0017 static inline struct dvb_frontend *zl10039_attach(struct dvb_frontend *fe,
0018 u8 i2c_addr,
0019 struct i2c_adapter *i2c)
0020 {
0021 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
0022 return NULL;
0023 }
0024 #endif
0025
0026 #endif