diff options
author | Mark Brown <broonie@kernel.org> | 2015-08-18 01:59:25 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-08-18 12:33:21 -0400 |
commit | 8c90503bf246bebb48caa5590d41df755ba08550 (patch) | |
tree | b356886adca49b5d9ceaaf7d0d02a240dcf332bb | |
parent | 78b50f39142612d01073595d33e7cc48f03a5a2f (diff) |
ASoC: topology: Disable use from userspace
Since the topology API is still in sufficient flux for changes to be
identified disable the use of the userspace ABI by adding #error
statements to the code, ensuring that nobody relies on the headers as
currently defined. It is expected that this change will be reverted for
v4.3.
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | include/uapi/sound/asoc.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/uapi/sound/asoc.h b/include/uapi/sound/asoc.h index 12215205ab8d..677c3c939f1d 100644 --- a/include/uapi/sound/asoc.h +++ b/include/uapi/sound/asoc.h | |||
@@ -18,6 +18,12 @@ | |||
18 | #include <linux/types.h> | 18 | #include <linux/types.h> |
19 | #include <sound/asound.h> | 19 | #include <sound/asound.h> |
20 | 20 | ||
21 | #ifndef __KERNEL__ | ||
22 | #error This API is an early revision and not enabled in the current | ||
23 | #error kernel release, it will be enabled in a future kernel version | ||
24 | #error with incompatible changes to what is here. | ||
25 | #endif | ||
26 | |||
21 | /* | 27 | /* |
22 | * Maximum number of channels topology kcontrol can represent. | 28 | * Maximum number of channels topology kcontrol can represent. |
23 | */ | 29 | */ |