mt2063.h 866 B

1234567891011121314151617181920212223242526272829303132
  1. #ifndef __MT2063_H__
  2. #define __MT2063_H__
  3. #include "dvb_frontend.h"
  4. struct mt2063_config {
  5. u8 tuner_address;
  6. u32 refclock;
  7. };
  8. #if defined(CONFIG_MEDIA_TUNER_MT2063) || (defined(CONFIG_MEDIA_TUNER_MT2063_MODULE) && defined(MODULE))
  9. struct dvb_frontend *mt2063_attach(struct dvb_frontend *fe,
  10. struct mt2063_config *config,
  11. struct i2c_adapter *i2c);
  12. #else
  13. static inline struct dvb_frontend *mt2063_attach(struct dvb_frontend *fe,
  14. struct mt2063_config *config,
  15. struct i2c_adapter *i2c)
  16. {
  17. printk(KERN_WARNING "%s: Driver disabled by Kconfig\n", __func__);
  18. return NULL;
  19. }
  20. /* FIXME: Should use the standard DVB attachment interfaces */
  21. unsigned int tuner_MT2063_SoftwareShutdown(struct dvb_frontend *fe);
  22. unsigned int tuner_MT2063_ClearPowerMaskBits(struct dvb_frontend *fe);
  23. #endif /* CONFIG_DVB_MT2063 */
  24. #endif /* __MT2063_H__ */