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