18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ci *
38c2ecf20Sopenharmony_ci *  Copyright (C) 2016 Robert Jarzmik <robert.jarzmik@free.fr>
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * This file is for backward compatibility with snd_ac97 structure and its
68c2ecf20Sopenharmony_ci * multiple usages, such as the snd_ac97_bus and snd_ac97_build_ops.
78c2ecf20Sopenharmony_ci */
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci#ifndef AC97_COMPAT_H
108c2ecf20Sopenharmony_ci#define AC97_COMPAT_H
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci#include <sound/ac97_codec.h>
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_cistruct snd_ac97 *snd_ac97_compat_alloc(struct ac97_codec_device *adev);
158c2ecf20Sopenharmony_civoid snd_ac97_compat_release(struct snd_ac97 *ac97);
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ci#endif
18