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