compat.h 463 B

1234567891011121314151617
  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. #ifndef AC97_COMPAT_H
  9. #define AC97_COMPAT_H
  10. #include <sound/ac97_codec.h>
  11. struct snd_ac97 *snd_ac97_compat_alloc(struct ac97_codec_device *adev);
  12. void snd_ac97_compat_release(struct snd_ac97 *ac97);
  13. #endif