]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ASoC: topology: Disable use from userspace
authorMark Brown <broonie@kernel.org>
Tue, 18 Aug 2015 05:59:25 +0000 (22:59 -0700)
committerMark Brown <broonie@kernel.org>
Tue, 18 Aug 2015 16:33:21 +0000 (09:33 -0700)
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>
include/uapi/sound/asoc.h

index 12215205ab8d0b11d854dcaa29f00bed48a980c7..677c3c939f1d9abddfee16d3bbac5636b279854d 100644 (file)
 #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.
  */