xref: /linux/include/sound/ac97/compat.h (revision 3eb66e91a25497065c5322b1268cbc3953642227)
1*1a8f0a3cSKuninori Morimoto /* SPDX-License-Identifier: GPL-2.0
274426fbfSRobert Jarzmik  *
3*1a8f0a3cSKuninori Morimoto  *  Copyright (C) 2016 Robert Jarzmik <robert.jarzmik@free.fr>
474426fbfSRobert Jarzmik  *
574426fbfSRobert Jarzmik  * This file is for backward compatibility with snd_ac97 structure and its
674426fbfSRobert Jarzmik  * multiple usages, such as the snd_ac97_bus and snd_ac97_build_ops.
774426fbfSRobert Jarzmik  */
8*1a8f0a3cSKuninori Morimoto 
974426fbfSRobert Jarzmik #ifndef AC97_COMPAT_H
1074426fbfSRobert Jarzmik #define AC97_COMPAT_H
1174426fbfSRobert Jarzmik 
1274426fbfSRobert Jarzmik #include <sound/ac97_codec.h>
1374426fbfSRobert Jarzmik 
1474426fbfSRobert Jarzmik struct snd_ac97 *snd_ac97_compat_alloc(struct ac97_codec_device *adev);
1574426fbfSRobert Jarzmik void snd_ac97_compat_release(struct snd_ac97 *ac97);
1674426fbfSRobert Jarzmik 
1774426fbfSRobert Jarzmik #endif
18