stv6111.h 447 B

12345678910111213141516171819202122
  1. #ifndef _STV6111_H_
  2. #define _STV6111_H_
  3. #if IS_REACHABLE(CONFIG_DVB_STV6111)
  4. struct dvb_frontend *stv6111_attach(struct dvb_frontend *fe,
  5. struct i2c_adapter *i2c, u8 adr);
  6. #else
  7. static inline struct dvb_frontend *stv6111_attach(struct dvb_frontend *fe,
  8. struct i2c_adapter *i2c,
  9. u8 adr)
  10. {
  11. pr_warn("%s: Driver disabled by Kconfig\n", __func__);
  12. return NULL;
  13. }
  14. #endif /* CONFIG_DVB_STV6111 */
  15. #endif /* _STV6111_H_ */