Advertisement
Guest User

ac97_codec.h.patch

a guest
Sep 16th, 2015
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. --- /usr/src/linux-headers-3.19.0-28/include/sound/ac97_codec.h
  2. +++ /home/kingfisher/Documents/analog-output/ac97_codec mod/mod1/ac97_codec.h
  3. @@ -31,6 +31,7 @@
  4. #include <sound/pcm.h>
  5. #include <sound/control.h>
  6. #include <sound/info.h>
  7. +#include <sound/jack.h>
  8.  
  9. /* maximum number of devices on the AC97 bus */
  10. #define AC97_BUS_MAX_DEVICES 4
  11. @@ -531,6 +532,10 @@
  12. struct device dev;
  13.  
  14. struct snd_pcm_chmap *chmaps[2]; /* channel-maps (optional) */
  15. +
  16. +struct snd_jack *hp_jack;
  17. +struct snd_jack *lo_jack;
  18. +struct snd_jack *sp_jack;
  19. };
  20.  
  21. #define to_ac97_t(d) container_of(d, struct snd_ac97, dev)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement