stv6111.h 575 B

12345678910111213141516171819202122232425262728
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Driver for the ST STV6111 tuner
  4. *
  5. * Copyright (C) 2014 Digital Devices GmbH
  6. */
  7. #ifndef _STV6111_H_
  8. #define _STV6111_H_
  9. #if IS_REACHABLE(CONFIG_DVB_STV6111)
  10. struct dvb_frontend *stv6111_attach(struct dvb_frontend *fe,
  11. struct i2c_adapter *i2c, u8 adr);
  12. #else
  13. static inline struct dvb_frontend *stv6111_attach(struct dvb_frontend *fe,
  14. struct i2c_adapter *i2c,
  15. u8 adr)
  16. {
  17. pr_warn("%s: Driver disabled by Kconfig\n", __func__);
  18. return NULL;
  19. }
  20. #endif /* CONFIG_DVB_STV6111 */
  21. #endif /* _STV6111_H_ */