xref: /openbmc/linux/include/sound/ac97/compat.h (revision b830f94f)
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