tda18271c2dd.h 439 B

12345678910111213141516
  1. #ifndef _TDA18271C2DD_H_
  2. #define _TDA18271C2DD_H_
  3. #if IS_REACHABLE(CONFIG_DVB_TDA18271C2DD)
  4. struct dvb_frontend *tda18271c2dd_attach(struct dvb_frontend *fe,
  5. struct i2c_adapter *i2c, u8 adr);
  6. #else
  7. static inline struct dvb_frontend *tda18271c2dd_attach(struct dvb_frontend *fe,
  8. struct i2c_adapter *i2c, u8 adr)
  9. {
  10. printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
  11. return NULL;
  12. }
  13. #endif
  14. #endif