itd1000.h 728 B

12345678910111213141516171819202122232425262728
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. /*
  3. * Driver for the Integrant ITD1000 "Zero-IF Tuner IC for Direct Broadcast Satellite"
  4. *
  5. * Copyright (c) 2007 Patrick Boettcher <[email protected]>
  6. */
  7. #ifndef ITD1000_H
  8. #define ITD1000_H
  9. struct dvb_frontend;
  10. struct i2c_adapter;
  11. struct itd1000_config {
  12. u8 i2c_address;
  13. };
  14. #if IS_REACHABLE(CONFIG_DVB_TUNER_ITD1000)
  15. extern struct dvb_frontend *itd1000_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct itd1000_config *cfg);
  16. #else
  17. static inline struct dvb_frontend *itd1000_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct itd1000_config *cfg)
  18. {
  19. printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
  20. return NULL;
  21. }
  22. #endif
  23. #endif