chip.h 815 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Linux driver for M2Tech hiFace compatible devices
  3. *
  4. * Copyright 2012-2013 (C) M2TECH S.r.l and Amarula Solutions B.V.
  5. *
  6. * Authors: Michael Trimarchi <michael@amarulasolutions.com>
  7. * Antonio Ospite <ao2@amarulasolutions.com>
  8. *
  9. * The driver is based on the work done in TerraTec DMX 6Fire USB
  10. *
  11. * This program is free software; you can redistribute it and/or modify
  12. * it under the terms of the GNU General Public License as published by
  13. * the Free Software Foundation; either version 2 of the License, or
  14. * (at your option) any later version.
  15. */
  16. #ifndef HIFACE_CHIP_H
  17. #define HIFACE_CHIP_H
  18. #include <linux/usb.h>
  19. #include <sound/core.h>
  20. struct pcm_runtime;
  21. struct hiface_chip {
  22. struct usb_device *dev;
  23. struct snd_card *card;
  24. struct pcm_runtime *pcm;
  25. };
  26. #endif /* HIFACE_CHIP_H */