hc
2024-05-10 748e4f3d702def1a4bff191e0cf93b6a05340f01
kernel/include/sound/hwdep.h
....@@ -1,29 +1,15 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 #ifndef __SOUND_HWDEP_H
23 #define __SOUND_HWDEP_H
34
45 /*
56 * Hardware dependent layer
67 * Copyright (c) by Jaroslav Kysela <perex@perex.cz>
7
- *
8
- *
9
- * This program is free software; you can redistribute it and/or modify
10
- * it under the terms of the GNU General Public License as published by
11
- * the Free Software Foundation; either version 2 of the License, or
12
- * (at your option) any later version.
13
- *
14
- * This program is distributed in the hope that it will be useful,
15
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
- * GNU General Public License for more details.
18
- *
19
- * You should have received a copy of the GNU General Public License
20
- * along with this program; if not, write to the Free Software
21
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22
- *
238 */
249
2510 #include <sound/asound.h>
2611 #include <linux/poll.h>
12
+#include <linux/android_kabi.h>
2713
2814 struct snd_hwdep;
2915
....@@ -49,6 +35,8 @@
4935 struct snd_hwdep_dsp_status *status);
5036 int (*dsp_load)(struct snd_hwdep *hw,
5137 struct snd_hwdep_dsp_image *image);
38
+
39
+ ANDROID_KABI_RESERVE(1);
5240 };
5341
5442 struct snd_hwdep {
....@@ -74,6 +62,8 @@
7462 int used; /* reference counter */
7563 unsigned int dsp_loaded; /* bit fields of loaded dsp indices */
7664 unsigned int exclusive:1; /* exclusive access mode */
65
+
66
+ ANDROID_KABI_RESERVE(1);
7767 };
7868
7969 extern int snd_hwdep_new(struct snd_card *card, char *id, int device,