xref: /linux/include/sound/ac97/compat.h (revision 74426fbff66eea8e8d1f42c8238c268d1e63a832)
1*74426fbfSRobert Jarzmik /*
2*74426fbfSRobert Jarzmik  *  Copyright (C) 2016 Robert Jarzmik <robert.jarzmik@free.fr>
3*74426fbfSRobert Jarzmik  *
4*74426fbfSRobert Jarzmik  * This program is free software; you can redistribute it and/or modify
5*74426fbfSRobert Jarzmik  * it under the terms of the GNU General Public License version 2 as
6*74426fbfSRobert Jarzmik  * published by the Free Software Foundation.
7*74426fbfSRobert Jarzmik  *
8*74426fbfSRobert Jarzmik  * This file is for backward compatibility with snd_ac97 structure and its
9*74426fbfSRobert Jarzmik  * multiple usages, such as the snd_ac97_bus and snd_ac97_build_ops.
10*74426fbfSRobert Jarzmik  *
11*74426fbfSRobert Jarzmik  */
12*74426fbfSRobert Jarzmik #ifndef AC97_COMPAT_H
13*74426fbfSRobert Jarzmik #define AC97_COMPAT_H
14*74426fbfSRobert Jarzmik 
15*74426fbfSRobert Jarzmik #include <sound/ac97_codec.h>
16*74426fbfSRobert Jarzmik 
17*74426fbfSRobert Jarzmik struct snd_ac97 *snd_ac97_compat_alloc(struct ac97_codec_device *adev);
18*74426fbfSRobert Jarzmik void snd_ac97_compat_release(struct snd_ac97 *ac97);
19*74426fbfSRobert Jarzmik 
20*74426fbfSRobert Jarzmik #endif
21