summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2015-08-18 07:59:25 +0200
committerMark Brown <broonie@kernel.org>2015-08-18 18:33:21 +0200
commit8c90503bf246bebb48caa5590d41df755ba08550 (patch)
treeb356886adca49b5d9ceaaf7d0d02a240dcf332bb /include
parentASoC: topology: Add Kconfig option for topology (diff)
downloadlinux-8c90503bf246bebb48caa5590d41df755ba08550.tar.xz
linux-8c90503bf246bebb48caa5590d41df755ba08550.zip
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>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/sound/asoc.h6
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 @@
#include <linux/types.h>
#include <sound/asound.h>
+#ifndef __KERNEL__
+#error This API is an early revision and not enabled in the current
+#error kernel release, it will be enabled in a future kernel version
+#error with incompatible changes to what is here.
+#endif
+
/*
* Maximum number of channels topology kcontrol can represent.
*/