nxt2002.h 489 B

1234567891011121314151617181920212223
  1. /*
  2. Driver for the Nxt2002 demodulator
  3. */
  4. #ifndef NXT2002_H
  5. #define NXT2002_H
  6. #include <linux/dvb/frontend.h>
  7. #include <linux/firmware.h>
  8. struct nxt2002_config
  9. {
  10. /* the demodulator's i2c address */
  11. u8 demod_address;
  12. /* request firmware for device */
  13. int (*request_firmware)(struct dvb_frontend* fe, const struct firmware **fw, char* name);
  14. };
  15. extern struct dvb_frontend* nxt2002_attach(const struct nxt2002_config* config,
  16. struct i2c_adapter* i2c);
  17. #endif // NXT2002_H