xref: /linux/include/sound/ac97/compat.h (revision 24bce201d79807b668bf9d9e0aca801c5c0d5f78)
1 /* SPDX-License-Identifier: GPL-2.0
2  *
3  *  Copyright (C) 2016 Robert Jarzmik <robert.jarzmik@free.fr>
4  *
5  * This file is for backward compatibility with snd_ac97 structure and its
6  * multiple usages, such as the snd_ac97_bus and snd_ac97_build_ops.
7  */
8 
9 #ifndef AC97_COMPAT_H
10 #define AC97_COMPAT_H
11 
12 #include <sound/ac97_codec.h>
13 
14 struct snd_ac97 *snd_ac97_compat_alloc(struct ac97_codec_device *adev);
15 void snd_ac97_compat_release(struct snd_ac97 *ac97);
16 
17 #endif
18