.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
---|
1 | 2 | #ifndef __SOUND_HWDEP_H |
---|
2 | 3 | #define __SOUND_HWDEP_H |
---|
3 | 4 | |
---|
4 | 5 | /* |
---|
5 | 6 | * Hardware dependent layer |
---|
6 | 7 | * 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 | | - * |
---|
23 | 8 | */ |
---|
24 | 9 | |
---|
25 | 10 | #include <sound/asound.h> |
---|
26 | 11 | #include <linux/poll.h> |
---|
| 12 | +#include <linux/android_kabi.h> |
---|
27 | 13 | |
---|
28 | 14 | struct snd_hwdep; |
---|
29 | 15 | |
---|
.. | .. |
---|
49 | 35 | struct snd_hwdep_dsp_status *status); |
---|
50 | 36 | int (*dsp_load)(struct snd_hwdep *hw, |
---|
51 | 37 | struct snd_hwdep_dsp_image *image); |
---|
| 38 | + |
---|
| 39 | + ANDROID_KABI_RESERVE(1); |
---|
52 | 40 | }; |
---|
53 | 41 | |
---|
54 | 42 | struct snd_hwdep { |
---|
.. | .. |
---|
74 | 62 | int used; /* reference counter */ |
---|
75 | 63 | unsigned int dsp_loaded; /* bit fields of loaded dsp indices */ |
---|
76 | 64 | unsigned int exclusive:1; /* exclusive access mode */ |
---|
| 65 | + |
---|
| 66 | + ANDROID_KABI_RESERVE(1); |
---|
77 | 67 | }; |
---|
78 | 68 | |
---|
79 | 69 | extern int snd_hwdep_new(struct snd_card *card, char *id, int device, |
---|